simonsobs / simonsobs/lightview
Handle refresh keys
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
When going to the homepage after the access token is revoked, nothing is displayed. The API requests fail because there's no valid token but we have a refresh token. Clicking 'login' refreshes things, but shouldn't be necessary; you may be able to refresh the tokens in the background yourself? https://github.com/simonsobs/soauth/blob/main/docs/introduction.md#nothing-ever-lasts
Contributor guide
No contributing guide indexed for this repository
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
Start with the homepage flow and the API request handling around login, then read the linked soauth introduction section on refresh tokens. Trace what happens when the access token is revoked while a refresh token remains available. Done means returning to the homepage refreshes authentication in the background and API content appears without clicking login.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100