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

Automatically refresh access tokens #259

Merged
merged 9 commits into from
Dec 4, 2023
Merged

Automatically refresh access tokens #259

merged 9 commits into from
Dec 4, 2023

Conversation

raffomania
Copy link
Contributor

Fix #225, fix #224

This introduces refresh tokens and makes the frontend automatically use them to obtain new access tokens before they expire.

Currently, this re-renders the whole app when a new access token is obtained. @bigabig do you know how we might prevent that?

@raffomania raffomania self-assigned this Nov 24, 2023
Copy link

gitguardian bot commented Nov 24, 2023

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@raffomania raffomania changed the base branch from mwp_v1 to initialize-with-migrations November 24, 2023 17:23
@raffomania raffomania changed the base branch from initialize-with-migrations to mwp_v1 December 4, 2023 18:11
@bigabig bigabig merged commit 71a7417 into mwp_v1 Dec 4, 2023
2 checks passed
@raffomania raffomania deleted the new-login-logic branch December 5, 2023 09:04
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.

Automatically refresh access tokens Automatically redirect to previous URL after login
2 participants