Skip to content
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

only Refresh access token with graphql_jwt.Refresh.Field() #333

Open
megamind400 opened this issue Jun 23, 2024 · 0 comments
Open

only Refresh access token with graphql_jwt.Refresh.Field() #333

megamind400 opened this issue Jun 23, 2024 · 0 comments

Comments

@megamind400
Copy link

as i understand using the Refresh token i can gain a new Access token, but using the built-in graphql_jwt.Refresh.Field() in my mutation, upon each query a new refresh token is also created with a new expiry date, which renders
'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=5), meaningless, so by logging in once you can stay logged in forever

how can i get a new access token without also renewing the Refresh Token?

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

1 participant