varkey
October 21, 2022, 9:37am
1
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?
erik
October 21, 2022, 11:17pm
2
Hello,
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,
1 Like
varkey
October 28, 2022, 9:40am
4
@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?
varkey
October 31, 2022, 7:00am
6
@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.