JWT bearer token: Issued At (iat) claim is not present but seems like this is required by quarkus-oidc #31232
Unanswered
subashiniunny
asked this question in
Q&A
Replies: 1 comment 2 replies
-
/cc @pedroigor (oidc), @sberyozkin (oidc) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
JWT Bearer tokens generated by our identity provider do not contain the Issued At (iat) claim. But it looks like quarkus-oidc expects this as I get the following error when trying to authenticate a bearer token:
Please let me know how I can work around this.
I was using Quarkus 2.4.2.Final but after seeing smallrye/smallrye-jwt#469, I updated quarkus version to 2.9.2.Final and also tried setting the following, but still getting this error about required iat claim. What else am I missing?
It looks like OidcProvider is not checking for a condition similar to the above. Can something similar be checked for before doing the following?
https://github.com/quarkusio/quarkus/blob/main/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/OidcProvider.java#L140
Beta Was this translation helpful? Give feedback.
All reactions