Skip to content

Handling JWT token refresh #1053

Answered by balazsorban44
yeroc790 asked this question in Help
Discussion options

You must be logged in to vote

We use IdentityServer 4 at work, and accessTokenExpires is null for us as well. The way I get around this is I just set it to a future date that is before the token will expire. Then you can check that in the jwt callback, and fetch a new access token if you see that the expire value is getting closer.

Replies: 2 comments 2 replies

Comment options

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

Answer selected by yeroc790
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants