On Mon, Jul 13, 2020 at 4:37 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
+Martin Perina can you help here?

Il giorno mar 7 lug 2020 alle ore 19:30 <miguel.garcia@toshibagcs.com> ha scritto:
We use LDAP authentication to login to ovirt cluster, actually, admin and another user account have to access API with no problem. My account does cannot access to API despite that had SuperUser privileges than those accounts that already access API.

Every time I tried to access API I get next message:
Error during SSO authentication access_denied: Cannot authenticate user 'diagsbuilder@ralntdom.rtptgcs.com':
No valid profile found in credentials..

What part of RESTAPI action are you calling? Do you get the error while obtaining authentication token or when accessing RESTAPI URL with the token?



The account does exist and permissions to enter to portal vms

For VM portal you don't need to have administrator permissions, user permissions are enough

What do need to do to grant access to API?

As mentioned above it depends on the action you want to call using RESTAPI
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XFIRPSPCNYTACGWMYKRI275MGREPGTGX/


--


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.