asgardeo / asgardeo/javascript
feat: add capability to forcefully resend a `authorize` request when there's a active session
- Lingua principale
- TypeScript
- Stelle
- 18
- Fork
- 67
- Merge medio
- 4h 6m
- PR unite (30g)
- 13
Descrizione
### Current Limitation
Currently, when there’s an existing active session, the SDK automatically skips sending a new authorize request and proceeds with the current session context.
However, there are scenarios where developers may want to forcefully trigger a new authorization request, even if an active session exists — for example, to:
- Do step up authentication
- etc.
Without this capability, developers need to manually clear session data or perform a logout, which results in a poor user experience.
### Suggested Improvement
Introduce a way to do forceful `signIn` maybe a additional param or a arg in the `signIn` method.
### Please select the package issue is related to
@asgardeo/react
### Version
current
### Reporter Checklist
- [x] I have searched the existing issues and this is not a duplicate.
- [x] I have provided all the necessary information.
- [x] I have verified the improvement is not available in the latest version of the package.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal punto di ingresso signIn di @asgardeo/react e segui il modo in cui una sessione attiva attualmente salta una nuova richiesta authorize. Definisci e documenta il comportamento di forceful signIn, quindi verifica che l’autenticazione step-up possa attivare una nuova richiesta di autorizzazione senza richiedere il logout o la cancellazione manuale della sessione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- authentication
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100