asgardeo / asgardeo/javascript

feat: add capability to forcefully resend a `authorize` request when there's a active session

Offen
#238 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Type/Improvement
Vorherrschende Sprache
TypeScript
Sterne
18
Forks
67
Ø Merge
4 Std. 6 Min.
Gemergte PRs (30 T.)
13

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne am @asgardeo/react-Einstiegspunkt signIn und verfolge, wie eine aktive Sitzung derzeit eine neue authorize-Anfrage überspringt. Definiere und dokumentiere das forceful signIn-Verhalten und überprüfe anschließend, dass die Step-up-Authentifizierung eine neue Autorisierungsanfrage auslösen kann, ohne dass ein Logout oder das manuelle Löschen der Sitzung erforderlich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
authentication
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.