Validating an Access Token with OIDC give NPE when running not in dev mode [Quarkus 3.21.4] #47525
-
Hi Team, I have an Access Token and I want to verify it manually. I use TenantIdentityProvider as written in the documentation. The problem is that, when I run the code with quarkud:dev, it works, otherwise I get a NPE:
I create a very simple project that demonstrates the problem: https://github.com/dometec/quarkus-iodc-test however all the code is shown below:
Any suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
/cc @pedroigor (oidc), @sberyozkin (oidc) |
Beta Was this translation helpful? Give feedback.
-
Hi @sberyozkin , no, I get the same result using an HTTP call. I updated the example:
|
Beta Was this translation helpful? Give feedback.
@dometec I've reproduced it, see #47568.
The workaround is to have the configuration in a custom tenant, for example:
Thanks