Hi;
I am reading the REST API Guide, it's the first time that I am testing this.
I have hard time to use OAuth authentication to make queries.
I can get the token with curl and with a firefox REST module
engine log :
[org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-1) [] User admin@internal successfully logged in with scopes: ovirt-appapi
But when I try to use it I get this error :
engine log:
ERROR [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default
task-30) [] Cannot authenticate using authentication Headers: The
required scope ovirt-app-api is not granted.
With basic authentication, it's working, so I don't know where is the problem.
Regards.