Skip to content

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

@brionmario

Description

@brionmario

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

  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions