asgardeo / asgardeo/javascript
feat: add capability to forcefully resend a `authorize` request when there's a active session
- Lenguaje dominante
- TypeScript
- Estrellas
- 18
- Forks
- 67
- Merge medio
- 4 h 6 min
- PR fusionados (30 d)
- 13
Descripción
### 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.
Guía de contribución
Línea de trabajo
Comienza en el punto de entrada signIn de @asgardeo/react y sigue cómo una sesión activa omite actualmente una nueva solicitud authorize. Define y documenta el comportamiento de forceful signIn y verifica después que la autenticación step-up pueda activar una nueva solicitud de autorización sin requerir logout ni el borrado manual de la sesión.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- authentication
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100