Spring OAuth2 - tokenInfoUri
I am using Spring Cloud Security with OAuth2 and am having an issue related to it not passing the scopes around. I believe that I need to define an endpoint to retrieve information about a given token (Including its scopes). However, I am getting an error stating that it is unauthorized.:
I have defined this endpoint for the token info: http://localhost:8080/uaa/check_token
Here is the error:
I noticed that it is making a request to the endpoint, and the verbiage is correct. I am not sure what it could be sending wrong. This is related to this issue I found for Spring Boot and has to deal with Authorization on a per-method basis.
Thanks for any help.