Bug Report
When initiating sign-in and closing the AuthSession (e.g., user cancels or closes the login prompt), the library throws an error or exception:
ERROR [OIDC-AUTH] Login failed [Error: AuthSession cancelled]
... (see full call stack above) ...
This should be considered an accepted/cancelled case and not treated as an error/exception. The library should handle this gracefully, possibly by returning a specific status or callback for cancellation, rather than throwing.
Steps to reproduce
- Start sign-in flow
- Close/cancel the AuthSession
Expected behavior
- No error/exception thrown
- Cancellation is handled as a valid outcome
If this is already possible, please document how to handle cancellation properly.
Bug Report
When initiating sign-in and closing the AuthSession (e.g., user cancels or closes the login prompt), the library throws an error or exception:
This should be considered an accepted/cancelled case and not treated as an error/exception. The library should handle this gracefully, possibly by returning a specific status or callback for cancellation, rather than throwing.
Steps to reproduce
Expected behavior
If this is already possible, please document how to handle cancellation properly.