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

FR-18495 - refresh the token when it has expired #384

Conversation

vladFrontegg
Copy link
Collaborator

@vladFrontegg vladFrontegg commented Nov 1, 2024

This pull request addresses the issue of token expiration by implementing a mechanism to refresh the token when it has expired. The changes include modifications to the authentication middleware to detect expired tokens and initiate a refresh process, ensuring continuous user sessions without unnecessary interruptions. Additionally, the update enhances the application's resilience by handling scenarios where the token cannot be refreshed, prompting a redirect to the login page as needed.

@frontegg-david frontegg-david merged commit 99e754e into master Nov 7, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants