swagger-api / swagger-api/swagger-ui

'Remember me' feature

Open
#8,248 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.