Re: Spring OAuth not retrieving scopes from UAA


Madhura Bhave
 

I suspect that the client did not get updated with the uaa.admin scope. Can you check the database to see if the client has that scope? It would be in the oauth_client_details table. If it hasn't been updated, you can add override: true in the client configuration in uaa.yml and restart the UAA.

On Jun 28, 2016, at 8:34 PM, Bryan Perino <Bryan.Perino(a)gmail.com> wrote:

I must be doing something wrong. I added some scopes that belong to the user to the client definition, but they won't show up on the authorization page.

http://i.imgur.com/iSSpsNz.png

Here is the updated YML

https://gist.github.com/bryantp/2bfc4538f36f28ba285fda84c59b89f8#file-uaa-yml-L11

Line 62 has the user with the scopes uaa.user and uaa.admin, so uaa.admin should show up in the authorization page right?

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.