asgardeo / asgardeo/javascript
feat: add capability to forcefully resend a `authorize` request when there's a active session
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 67
- Avg merge
- 4h 6m
- Merged PRs (30d)
- 13
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.