SecurityIdentity#attribute
(test) vs JsonWebToken#claim
(dev, prod) ?
#47911
-
I have a quarkus-oidc setup, connected to Keycloak. Now in the access-token I receive during
Running tests in
renders this Now what is my problem of thinking here? How to unify this? Do I have to a) Somehow modify the settings, such that the 🤔 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
/cc @sberyozkin (security) |
Beta Was this translation helpful? Give feedback.
@col-panic You can use
@OidcSecurity
to set claim expectations: https://quarkus.io/guides/security-oidc-bearer-token-authentication#bearer-token-integration-testing-security-annotation