Skip to content

Refresh sliding token #33

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

Open
vlada1g opened this issue Sep 29, 2023 · 3 comments
Open

Refresh sliding token #33

vlada1g opened this issue Sep 29, 2023 · 3 comments

Comments

@vlada1g
Copy link

vlada1g commented Sep 29, 2023

Hi,
I have problem with sliding tokens.

The problem I'm running into is that I can only refresh the token while the auth expiration claim is valid. When auth exp pass and refresh_exp is still in future i cant refresh the token.

I have done little bit research of this library so the problem is the token is getting decoded only by exp time, same as for access/refresh token, so for sliding token he doesn't look at all at refresh_exp time

issue related to jazzband#154

@eadwinCode
Copy link
Owner

@vlada1g Sorry for not getting back to you sooner.

This problem is strange. I will look at this and see what is happening. In the meantime, I would advise you to do a manual set up and get token refreshed while I look into this

@orbyte
Copy link

orbyte commented Mar 15, 2025

Hi @eadwinCode,

I've had the same problem and after I investigated, I found that when the Token is initiated, it doesn't check for the type and will check for expiration which cannot continue to be checked for refresh_exp.

Image

I hope this was of help and may the problem be fixed soon.

Thank you for this library.

@eadwinCode
Copy link
Owner

@orbyte thanks I will looking into this

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

No branches or pull requests

3 participants