Skip to content

Validating an Access Token with OIDC give NPE when running not in dev mode [Quarkus 3.21.4] #47525

Answered by sberyozkin
dometec asked this question in Q&A
Discussion options

You must be logged in to vote

@dometec I've reproduced it, see #47568.

The workaround is to have the configuration in a custom tenant, for example:

quarkus.oidc.my-tenant.auth-server-url=https://meters.osys.it/auth/realms/WebChatDemo
quarkus.oidc.my-tenant.client-id=apiserver
quarkus.oidc.my-tenant.credentials.secret=${secret}

Thanks

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@sberyozkin
Comment options

Comment options

You must be logged in to vote
5 replies
@sberyozkin
Comment options

@sberyozkin
Comment options

@dometec
Comment options

@sberyozkin
Comment options

Answer selected by dometec
@dometec
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants