While trying to login into the OKTA login page, the android device is giving this error, And the login fails.
D/MainActivity: null onError
AuthorizationException: {"type":0,"code":10,"errorDescription":"No compatible browser found"}
at com.okta.oidc.AuthenticationResultHandler.handleAuthenticationResult
Dependencies used for Okta OIDC
implementation 'com.okta.authn.sdk:okta-authn-sdk-api:1.0.0'
implementation('com.okta.authn.sdk:okta-authn-sdk-impl:1.0.0') {
exclude group: 'com.okta.sdk', module: 'okta-sdk-httpclient'
}
implementation 'com.okta.android:oidc-androidx:1.0.11'
The browser used is the default browser for the device. (Vivo browser) All permissions are given.
You need to set Chrome as your default browser.
Steps to follow: