-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue with the refresh token being set inside of the cookies from the BaseAPIClient.ts
This should auto-generate a new token after an hour if it's invalid, but previously showed incorrect behaviour in production as well as locally. Specifically, this has only been seen with logout on the REST API's.
Opening this ticket to investigate behaviour locally (refresh token set in cookies).
Steps to test:
- Can change the timing on the expiry and see if a new refresh token is generated and being set correctly
- Could also entirely be not related to the API Client, and can test by hitting the firebase backend endpoint
Related PRs:
#162
Temp Fixes By Teams:
uwblueprint/ccbc#85
uwblueprint/community-fridge-kw#193
Error Messages
{"message":"[/app/utilities/firebaseRestClient.ts] Failed to refresh token via Firebase REST API, status code = 400, error message = INVALID_REFRESH_TOKEN","level":"error","timestamp":"2022-03-05T19:26:26.597Z"}

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working