You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario
Using idcs-login example, the rest service is protected with TWO scopes.
If you generate a auth token from IDCS with only one scope and then execute the REST Service with this token you will get this error
Deploy sample application ensure it works from a browser
Use a tool (like postman) to generate a Auth token from idcs using the https:///oauth2/v1/token rest call. Ensure you only have one scope (first_scope)
Execute this against the REST endpoint (/jersey)
you wull receive the above error
Regenerate the token using two scopes
Execute again, and it should work.
The error message is incorrect and should be valid token , invalid scopes
The text was updated successfully, but these errors were encountered:
Environment Details
Problem Description
Scenario
Using idcs-login example, the rest service is protected with TWO scopes.
If you generate a auth token from IDCS with only one scope and then execute the REST Service with this token you will get this error
Steps to reproduce
The error message is incorrect and should be valid token , invalid scopes
The text was updated successfully, but these errors were encountered: