How to redirect from Okta SSO Login page to the mobile app if they cancel/stop the Okta SSO Login in Xamarin

We have a Xamarin mobile app project and recently integrated the Okta SSO Login.

I’m using WebAuthenticator.AuthenticateAsync(WebAuthenticatorOptions) method for accessing/navigating both Okta Login and Logout pages/process and everything is working fine, however, there’s a scenario in which the user can cancel the SSO Login process. Every time they click the cancel/back buttons, it will redirect to the APP and keep spinning, awaiting a proper response (Okta Token).

How can I implement/handle the cancel SSO Login process to prevent that issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.