fix(apollo): logout on stale Auth0 token errors #2887
Reference in New Issue
Block a user
Delete Branch "fix/logout-on-stale-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
getAccessTokenSilentlyrejects withlogin_required,invalid_grant,missing_refresh_token,consent_required, orinteraction_required, callauth0.logout({ openUrl: false })Why
Paired with the backend change to make
Originstolerate missing subjects, this prevents the misleading "logged in but nothing works" state seen on mobile cold starts.Test plan
npm run lint