I am still working through authentication using Okta on my xamarin forms app. I believe I have am not using the correct Redirect URI in the OAuth2Authenticator constructor below. Although I appear able to enter my Okta credentials, I do not return to the mobile app. instead I sit on the Okta developer webpage (the Login_redirect_URIs) property below. I have tried changing it to another (random) website, and it makes no difference. When I press the back button, I receive a AuthenticatorCompletedEventArgs.IsAuthenticated == false result.
What should I be passing in for the Login_redirect_URIs value?
Client authentication: Use PKCE
Allowed_grant_types: Authorization Code
From my xamarin app loginViewModel.cs page I am using the above as follows;
Scopes = “openid, email”
var authenticator = new OAuth2Authenticator(ClientID,
var Presenter = new Xamarin.Auth.Presenters.OAuthLoginPresenter();
authenticator.Completed += OktaAuthenticator_Completed;