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.okta.appauth.android.OktaAppAuth.login(OktaAppAuth.java:317)
at com.okta.appauth.android.OktaAppAuth.login(OktaAppAuth.java:299)
at com.---.ui.okta.OktaAuthActivity$onCreate$2.onClick(OktaAuthActivity.kt:51)
at android.view.View.performClick(View.java:7333)
at android.widget.TextView.performClick(TextView.java:14160)
at android.view.View.performClickInternal(View.java:7299)
at android.view.View.access$3200(View.java:846)
at android.view.View$PerformClick.run(View.java:27773)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6986)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)
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:
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:
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: xxxxxx-sky-com.okta.com. You can copy your domain from the Okta Developer Console. Follow these instructions to find it: https://bit.ly/finding-okta-domain
And whe I put with http, I have the same error of the @albka1986 .