Crash while login

I can’t add OKTA Auth to Android app.
Have crash while login.

implementation ‘’

My Login class -

2019-09-17 18:51:18.088 32459-32459/com.--- E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.--- PID: 32459
java.lang.IllegalStateException: Okta Configuration has changed
    at com.---.ui.okta.OktaAuthActivity$onCreate$2.onClick(OktaAuthActivity.kt:51)
    at android.view.View.performClick(
    at android.widget.TextView.performClick(
    at android.view.View.performClickInternal(
    at android.view.View.access$3200(
    at android.view.View$
    at android.os.Handler.handleCallback(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)

Try uninstalling the app to clear the persistent data. The error is caused by a mismatch configuration. That repository isn’t maintained anymore please use the following instead:

Thanks, I switched to the lib:

and now I have a new error:
E/SyncWebAuthClientImpl:No uri registered to handle redirect or multiple applications registered

What does it mean?
I’ve set my config, I took data here: Screenshot_1

My current config:

config = OIDCConfig.Builder()
.clientId(“id here”)
.scopes(“openid”, “profile”, “offline_access”)


android.defaultConfig.manifestPlaceholders = [
“appAuthRedirectScheme”: “

I stuck with this, please help.

I experienced this issue today myself.

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:


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

I have set the URI in Admin Panel just to avoid the empty field.
I don’t use “” anywhere, should I?

Your appAuthRedirectScheme value should match the beginning of your redirect URIs. For example, I have the following in mine:

manifestPlaceholders = [
    appAuthRedirectScheme: ''

And here’s how I configured my redirect URIs:


I also have these configured in my native app’s configuration on Okta.

Its not work! when I put the my infos like your @mraible, without http, I have this error:
IllegalArgumentException: It looks like there’s a typo in your Okta domain. Current value: You can copy your domain from the Okta Developer Console. Follow these instructions to find it:

And whe I put with http, I have the same error of the @albka1986 .

Somebody can help us ?

Are you creating a native app or different kind of app? If native, what are the redirect URIs you’re trying to use?