RoboJackets / RoboJackets/apiary-react-native
Refresh token is invalid when app opened after a long time
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If a user opens the app after a long time leaving it closed, the app will automatically attempt to log in with the auth token, then the refresh token. If the refresh token is invalid, it throws an error to the user saying that the refresh token is invalid and does not log in.
Should the behavior change to a silent failure to log in automatically, booting the user to the login screen, or should this error stay?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the automatic auth-token then refresh-token flow described in the issue and confirm how invalid refresh tokens are surfaced. Done requires an agreed behavior and a corresponding implementation plan; the payload names no file, entry point, or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100