-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnauthorizedError: jwt issuer invalid. expected: undefined #32
Comments
I'm not entirely sure how I resolved this. But, I got it working so it looks like it was something on my end. I changed the issuer to anything else. I changed my issuer to http://something.com and my username and password are both something in the user object. I'm not 100% if I changed anything else relevant b/c I was multitasking. |
I get the same error. The error will go away when i remove the |
Have the same question! Is the |
Ah, here it is: issuer should be
if you just put ${process.env.AUTH0_DOMAIN} it will remain broken. |
In my case I forgot .eu in my domain name |
Thanks @dearamerican it worked |
I followed instructions, and even tried changes shown in issue #30 because I was initially receiving the invalid audience error. Now I'm getting the invalid issuer error when I authenticate and try to hit a protected API. I'm using this example for my app: https://auth0.com/blog/adding-authentication-to-react-native-using-jwt/
Sign up and Login seem to work (aside from errors when I try to sign up the same user twice and try to login twice).
Any ideas?
I think the only difference is that my react-native app that uses this API as an end point fetches with my local IP instead of localhost.
Thanks!
The text was updated successfully, but these errors were encountered: