Mainframe-Archive / Mainframe-Archive/switchboard
Allow auth to contain both access and refresh tokens
Nobody has claimed this yet.
- Dominant language
- Erlang
- Stars
- 315
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
From @ostera on https://github.com/thusfresh/switchboard/pull/43
> Just a question, given that oftentimes there already is an access_token that can be used alongside a refresh_token, what was the train of thought behind not allowing an Auth datatype to have both an AccessToken to be used, and a RefreshToken to fallback to? Just a thought, so that you don't have to request another AccessToken when registering a new monitored IMAP connection.
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
Start by reviewing the Auth, AccessToken, and RefreshToken definitions and the context of pull request #43. Trace how a monitored IMAP connection is registered and decide how both tokens should coexist, including refresh fallback behavior. Done means the intended token combination is supported without requesting another access token.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100