We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when using setting the property in this format:
quarkus.oidc.roles.role-claim-path="https://any.namespace/roles"
the slashes in the namespace are interpreted as path separator and if we have a claim like
{ "https://any.namespace/roles":["admin"] }
it's impossible to parse (btw this is a common pattern in Auth0 custom properties)
There should be a way to specify the path AS IS
We get an error (visible if enabling TRACE logs) like no claim found at path: https:
no claim found at path: https:
@RolesAllowed("admin")
uname -a
ver
any
java -version
No response
2.9.2
mvnw --version
gradlew --version
The text was updated successfully, but these errors were encountered:
Hmm, I think a similar issue was resolved awhile back.
Sorry, something went wrong.
/cc @pedroigor
For example, see https://github.com/quarkusio/quarkus/blob/main/extensions/oidc/runtime/src/test/java/io/quarkus/oidc/runtime/OidcUtilsTest.java#L433 and https://github.com/quarkusio/quarkus/blob/main/extensions/oidc/runtime/src/test/resources/tokenCustomPath.json#L17. It looks like " is lost or may be there is some extra space somewhere, @agea, can you double check please ?
"
Successfully merging a pull request may close this issue.
Describe the bug
when using setting the property in this format:
quarkus.oidc.roles.role-claim-path="https://any.namespace/roles"
the slashes in the namespace are interpreted as path separator and if we have a claim like
it's impossible to parse (btw this is a common pattern in Auth0 custom properties)
Expected behavior
There should be a way to specify the path AS IS
Actual behavior
We get an error (visible if enabling TRACE logs) like
no claim found at path: https:
How to Reproduce?
@RolesAllowed("admin")
quarkus.oidc.roles.role-claim-path="https://any.namespace/roles"
in application.propertiesOutput of
uname -a
orver
any
Output of
java -version
any
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.9.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: