Android Okta Mobile SDK in Java

Hello, I’ve tried the Okta Mobile SDK sample in an Android project written in Kotlin which works great.

Now I’m trying to integrate the SDK into an existing Android project (written in Java), but when I try to login using the redirect model, it kept throwing an error saying “RedirectListener has not been initialized.”, which I assume is from here:

That means the webAuthenticationProvider is null, but I have no idea why… The webAuthenticationProvider should be the DefaultWebAuthenticationProvider when the WebAuthenticationClient is created from here?

Am I supposed to use this SDK in an Android Java Project? Or do I have to use okta-oidc-android instead?


This SDK was not intended to be used in Android Java projects.