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

Ignore firebase id token expired error #495

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

annarhughes
Copy link
Member

What changes did you make?

Added a firebase error type for ID_TOKEN_EXPIRED which is now ignored in rollbar errors.

Why did you make the changes?

This is an expected error that we don't want to log to rollbar. I.e. a user makes a request to the backend and their id token is expired so we return a 401. The frontend then auto refreshes the token if possible and retries the request.

@annarhughes annarhughes merged commit 06bf40a into develop Jun 24, 2024
6 checks passed
@annarhughes annarhughes deleted the ignore-id-expired-error branch June 24, 2024 17:13
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.

None yet

1 participant