Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Security token expired #5266

Closed
SamAchten opened this issue Jun 2, 2021 · 2 comments
Closed

Security token expired #5266

SamAchten opened this issue Jun 2, 2021 · 2 comments

Comments

@SamAchten
Copy link

Hey,

We have an issue when requesting new tokens. Every so often the IdentityServer hands out new tokens that are already expired. We have checked the clocks on the microservices, they are perfectly in sync.
We are not the only team facing this issue, since the problem is identical to these two tickets. Is there any solution/root cause known so we can fix it?

#4770
#1689

@leastprivilege
Copy link
Member

leastprivilege commented Jun 2, 2021

Is there any solution/root cause known so we can fix it?

I personally never had this problem. Please do your own investigation and let us know what you found out.

@SamAchten
Copy link
Author

Thank you for your response. We have done extended research but do not see anything wrong with our code.
We have an AKS cluster with the IdentityServer running in a pod as well. From time to time our microservices request a new token from the IdentityServer. The token is exchanged without a problem, but the received token is expired. The expiration date is in the past.
We have asked Microsoft for support too. They checked the whole setup and verified that all the clocks are running in sync. Since we have found some tickets here on GitHub with the same issue, we thought it could be some bug in IdentityServer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants