-
Notifications
You must be signed in to change notification settings - Fork 49
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.webFrontend/web related issueFrontend/web related issue
Description
Priority
Critical (blocking my workflow)
Feature Description
Implement a new authentication flow using Supertokens' inbuilt FDI endpoints (see https://app.swaggerhub.com/apis/supertokens/FDI/3.0.0). Customize endpoints where necessary to best fit Compass requirements.
- Replace the current flow with a solution leveraging FDI endpoints directly.
- Address the reauthentication issues described in User is required to re-auth frequently | 401 response from
/api/auth/google#1152 as part of this implementation.
Use Case
Switching to Supertokens FDI endpoints will:
- Save engineering time by using a stable, well-documented foundation.
- Make it easier to investigate Supertokens auth issues.
- Resolve reauth/401 errors seen in the current Google OAuth flow (User is required to re-auth frequently | 401 response from
/api/auth/google#1152). - Improve overall user experience and backend reliability.
Additional Context
Reference:
- Supertokens FDI API spec: https://app.swaggerhub.com/apis/supertokens/FDI/3.0.0
- Parent issue: User is required to re-auth frequently | 401 response from
/api/auth/google#1152
Add other context for technical design/architecture here as implementation details emerge.
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.webFrontend/web related issueFrontend/web related issue
Type
Projects
Status
Backlog