-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
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
iat
field in access token (JWT) issued as part of refresh_token
grant.
#774
Comments
Also relevant https://datatracker.ietf.org/doc/html/rfc6749#section-1.5 The refresh flow explicitly states new tokens are issued. Obviously this is void of any context regarding the JWT Profile but likely applies. |
If approved as bug, I'd be glad to raise a PR fixing it. |
Bumping up |
I can confirm that |
So it looks this is more confusing than one would hope for. For ID Tokens:
This seems reasonable. For access tokens:
I find this confusing. There are two names ( Anyway, my workaround for this is that I set |
Sorry, in fact no, it does not work correctly. By default So the problem is even in the initial access token. And another issue is that after refresh the |
Workaround in introspection handler:
|
I found another issue In |
Preflight checklist
Ory Network Project
No response
Describe the bug
Please assume the following flow:
iat
field pointing to the time, the original access token was created.iat
set to9:00
andexp
set to9:31
.iat
field should be indicative of when this JWT was issued.Reproducing the bug
Please reproduce the above mentioned steps, with any OAuth server powered by fosite :)
Relevant log output
No response
Relevant configuration
No response
Version
v0.42.2
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes
Additional Context
No response
The text was updated successfully, but these errors were encountered: