-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple scopes passing via allowed scopes #7976
Comments
Can you please state what version of Helidon you are using and if it is MP or SE. |
This is Helidon MP |
We are using Helidon MP passing scopes to application generated via IDCS. As a workaround, in application.yaml file when specified allowed scopes as "allowedScopes: [ "a","b","c","a x","x a"]" |
And what version of Helidon are you using ? |
Helidon Version: 3.2.2 |
Hi @m0mus , in which releaser this is targeted to be delivered? |
@fssouza I cannot tell you when it will be released yet. Now it waits in the queue. We'll try our best to address it sooner. |
We are passing 3 scopes to application via allowed scopes which are defined separately but helidon is unable to process them.
In logs, we are getting scope is not in allowed list though we have passed it separately in application.yaml file.
As a workaround when we passed 3 scopes with space it worked.
Example: allowedScopes: [ "a","b",] # doesn't work
Passed token with scope [a b]
Error : InvalidTokenException: Scope is not in the allow list. Scope verification failed
Workaround: allowedScopes: [ "a b","b a","a","b"] # works
Passed token from idcs with scope [a b]
The text was updated successfully, but these errors were encountered: