Re: Update a user token scope
Paul Bakare
Is there a test coverage for User PATCH update?
toggle quoted message
Show quoted text
Couldn't find any at https://github.com/cloudfoundry/uaa/blob/develop/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/ScimUserEndpointsIntegrationTests.java#L233 Steps to replicate: uaac target http://localhost:8080/uaa uaac token client get admin -s adminsecret uaac -t curl -H 'Cookie: JSESSIONID=A1F9D1FDBF7D3EDADE74318EE7666613' -H "Content-Type: application/json" -X PATCH -d {"emails":[{"value": " marissa(a)test.org", "primary": true}]}' http://localhost:8080/uaa/Users/4c7f6709-939e-4d9c-8655-9996b7d69ce6 Token has got the the scim.write scope, but I'm getting a forbidden error: {"error":"access_denied","error_description":"Access is denied"} I've exhausted all options and would appreciate some help.
On Tue, Mar 1, 2016 at 5:59 PM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:
Thanks Chris. |
|