0

I'm using Auth0 with React Native. I'm following the instructions here. I'm running the following code:

auth0.webAuth.authorize({
  scope: 'openid email',
  audience: '{MY_DOMAIN}'
})

where {YOUR_AUTH0_DOMAIN} is replaced with my actual Auth0 domain.

I've added {YOUR_BUNDLE_IDENTIFIER}://${YOUR_AUTH0_DOMAIN}/ios/{YOUR_BUNDLE_IDENTIFIER}/callback, where I've replaced {YOUR_BUNDLE_IDENTIFIER} and {YOUR_AUTH0_DOMAIN} with the corresponding values, to my list of "Allowed Callback URLs" in my Application Settings on auth0.com.

However, when I call the auth0.webAuth.authorize() method, it redirects me to the following screen:

enter image description here

Does anyone know how to approach this?

gkeenley
  • 2,920
  • 1
  • 18
  • 45
  • This mismatch suggests there is a difference in the callback you are submitting and the callback that is registered. Are you including the https:// prefix? – Dan Woda Oct 04 '19 at 21:33
  • Did you ever figure this out? I'm having the same problem – Sam Jul 21 '20 at 23:34

0 Answers0