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

Implement Firebase Token Rotation #32

Merged
merged 10 commits into from
Mar 29, 2024
Merged

Implement Firebase Token Rotation #32

merged 10 commits into from
Mar 29, 2024

Conversation

bonk1t
Copy link
Owner

@bonk1t bonk1t commented Mar 29, 2024

These changes ensure that the Firebase token is automatically refreshed when it expires, allowing continuous operation without token expiration issues.

  • Implemented token rotation functionality to automatically refresh the Firebase token before it expires.
  • Modified the Redux store to store the token expiration time along with the token.
  • Added a new refreshToken action in usersActions to refresh the token using the Firebase SDK.

Unrelated:

  • Use dynamic server URL for sign-in
  • Bug fix in the fetchJSON function

@bonk1t bonk1t changed the title Add Token Rotation Implement Firebase Token Rotation Mar 29, 2024
@bonk1t bonk1t force-pushed the feat/token-rotation branch from 1f9b946 to e98c14c Compare March 29, 2024 20:03
@bonk1t bonk1t merged commit a86b867 into main Mar 29, 2024
1 check passed
@bonk1t bonk1t deleted the feat/token-rotation branch March 29, 2024 23:28
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.

1 participant