expo/examples

with-auth0 example does not work

mwarger opened this issue · 0 comments

Describe the bug
After filling in the information, the with-auth0 example always results in an 'Access Denied' error.

To Reproduce
Steps to reproduce the behavior:

  • Create an auth0 single page application and fill in the correct information in the example code (auth0ClientId and authorizationEndpoint). Continue following the instructions in the README for the example.
  • Run the example and attempt to login with either email or google authentication.
  • See that access is denied.

Expected behavior
I would expect the authentication flow to work after following the instructions.

Screenshots

Walkthrough of the above steps and what I saw....

image

image

image

image

image

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] iPhoneSE Simulator
  • OS: [e.g. iOS8.1] iOS
  • Version [e.g. 22]

Additional context
The full error returned in the example is here:

Error: {"type":"error","error":{"code":"unauthorized","description":"Access denied.","params":{"error":"unauthorized","exp://192.168.1.251:19000/--/expo-auth-session":"","error_description":"Access denied.","state":"jaxP2RGuoG"},"state":"jaxP2RGuoG"},"url":"exp://192.168.1.251:19000/--/expo-auth-session#error=unauthorized&error_description=Access%20denied.&state=jaxP2RGuoG","params":{"exp://192.168.1.251:19000/--/expo-auth-session":"","error":"unauthorized","error_description":"Access denied.","state":"jaxP2RGuoG"},"authentication":null,"errorCode":null}

Any help or advice for this would be greatly appreciated. Thank you!