Hi, I am trying to implement custom native Okta login screen in android.
Kindly guide me to the latest sample to implement the custom native login.
I couldn’t find the sample in GitHub - okta/okta-mobile-kotlin: Okta's Android Authentication SDK
Or is it the session-token sample?
If your application is using the authorization code flow you would use the
app in the repo you linked,
If you have an OIE Org and would like to use the interaction code flow you would use,
@erik I am able to login using the session-token-sample for accounts without MFA. However for account with MFA, i am getting error - HTTP 401, Okta E0000004 (Authentication failed), ErrorId oaeRiZCFLgsR0iSdhTBcKjk1A
Is MFA supported in custom login flow? What could I be missing here?
@erik Thanks for you reply.
- Is your Okta Org a classic Org or OIE Org? We are using classic org
- If it is a classic Org is the MFA policy set for the Org Sign-on policy, or as an application policy? Yes, it is set for org sign-on policy.
This all so confusing, those sample apps are not easy to understand.