Error: Sign in not authorized

I’m using Okta for React native, however I keep running into an error Sign in not authorized. I have tried both signIn({credentials}) and signInWithBrowser and both yield the same issue.

My organization does not any MFAs enabled, and I also receive the same error when running the sample react native project from this GitHub - okta/samples-js-react-native: samples-js-react-native.

Any advice/assistance is greatly appreciated. Thank you!

Hi @natalieOkta, have you configured all the basics?

  1. the okta react client settings in your code
  2. the application object in Okta representing your app
  3. Adding your user account to the app
  4. the access policies in Okta allowing access to that app

Some of those often trip me up getting the react examples running.

1 Like