Skip to Content

access uaa REST API / assign uaa.admin to an user

heee there,

in our current project we want to get user information (like firstname, email,...) out of the uaa and show/edit it in our app. According to the cloudfoundry uaa API reference (http://docs.cloudfoundry.org/api/uaa/version/4.12.0/#users) this can be done by calling the uaa resource /Users.

In the first step I got myself an OAuth 2.0 token with my HANA user account to attach it to every request. With this token I was able to call /uaa-security/userinfo to get my own user info. But if I call /Users I'll get the following error:

{ "error": "insufficient_scope", "error_description": "Insufficient scope for this resource", "scope": "uaa.admin scim.read zones.uaa.admin" }

My question is: how and where can I add an user with this privilege or add this role to an existing user?


Thank you in advanced.


Cheers,

Frank


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer