-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Copy link
Labels
backendWork related to improving the Compass API. More than 70% of the PR should be backend focused.Work related to improving the Compass API. More than 70% of the PR should be backend focused.
Description
Where did this happen?
Hosted (app.compasscalendar.com)
Expected Behavior
When going to Compass, the user shouldn't have to reauthenticate with Google oauth on a daily basis
Current Behavior
When going to Compass, the user is required to go through the full login flow on a daily basis
Steps to Reproduce
- Open devtools
- Go to Compass
- Wait a day
- Go to Compass again
- Look at
/refreshcall:https://app.compasscalendar.com/api/session/refreshand see it responds with 401 and the below payload - Look at
/api/auth/googlecall and see that it also returns 401 - You'll be redirected to the login page after the backend returns the 401 response
401 payload:
{message: "unauthorised"}
Backend logs:
0|backend | 401 GET /api/auth/google 0.443ms Thu, 23 Oct 2025 01:01:02 GMT
Possible Solution
What is the cause of the refresh token failing?
Context
This is a very negative experience that will cause even the most supportive users to give up.
victor-enogwe
Metadata
Metadata
Assignees
Labels
backendWork related to improving the Compass API. More than 70% of the PR should be backend focused.Work related to improving the Compass API. More than 70% of the PR should be backend focused.
Type
Projects
Status
In progress
