asgardeo / asgardeo/javascript
React app login with code grant silently fails when public client option is not enabled
- Lingua principale
- TypeScript
- Stelle
- 18
- Fork
- 67
- Merge medio
- 4h 6m
- PR unite (30g)
- 13
Descrizione
### Description
When the code grant is enabled without the public client option is enabled, the react application login silently fails because the token calls sent after the user is authenticated fails with the following error. Initiating signing in again in the same tab also redirects the user to same callback URL.
### Steps to Reproduce
The following screencast shows this erroneous behaviour.
https://github.com/user-attachments/assets/5f73e716-603f-4885-a764-9b775005342a
### Please select the area the issue is related to
@asgardeo/express, @asgardeo/react
### Version
latest
### Environment Details (with versions)
_No response_
### 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 tested the issue on the latest version of the package.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il malfunzionamento mostrato nello screencast con i package @asgardeo/express e @asgardeo/react, quindi traccia le chiamate di login e token effettuate dopo l’autenticazione. Il lavoro è completato quando il login riesce con code grant abilitato senza l’opzione public client e un nuovo accesso nella stessa scheda non reindirizza allo stesso URL di callback.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- authentication, frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100