Crash while login

I experienced this issue today myself. https://github.com/okta/okta-oidc-js/issues/561

I found that you have make sure your redirectUri and endSessionRedirectUri both use the same scheme as your appAuthRedirectScheme. In your example, this would be:

.redirectUri(“com.okta.company:/login/callback”)
.endSessionRedirectUri(“com.okta.company:/login/callback”)

These URIs will also need to be whitelisted in your Okta app.