swagger-api / swagger-api/swagger-ui
'Remember me' feature
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Since the implementation of configs.preserveAuthorization property in https://github.com/swagger-api/swagger-ui/pull/5939 it is possible to persist the token when refreshing/closing the browser. It would be nice to have a 'remember-me' like button so each user can decide if they want their token to be remembered.
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 reading the implementation of configs.preserveAuthorization and the linked pull request 5939 to understand how tokens persist across refreshes and browser closing. Then trace the authorization UI entry point and determine how a remember-me control should let users opt into that behavior. Done means the choice controls token persistence without breaking existing authorization flows, with tests covering the preference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100