Issue with okta-react-native signIn method using Integrator Account

I am using @okta/okta-react-native npm for react-native based hybrid Mobile Application authentication. Earlier I was using Okta Developer Account and SignIn method of this npm was working properly.

Recently I have migrated to integrator free account from developer account. But after migration SignIn keep giving “AuthApi error” and not able to signin.

Hi,

Could you provide more details on the method you are using and also on the Error which you see? I would guess that the policy difference between your old org and the new org would cause the AuthApi error. That is something you could check.

I am using getAuthClient().signIn(username, password) method of @okta/okta-react-native npm. I have properly configured redirectUri, endSessionRedirectUri in code and SigIn Redirect and SignOut Redirect in OKTA console.

In that case I would advice to setup Policies such that Password is the only required Factor. You can follow this article here to do this - https://support.okta.com/help/s/article/How-to-prompt-for-password-only-when-logging-in-to-Okta-OIE?language=en_US

Also, do remember that you assign this Policy to your React Native app only and not to other Apps like Admin Console/Dashboard.