It looks like curly brackets might be included in the domain name (%7B is { and %7D is })
To help see what is going on, could you send a snippet of your code where the Auth0Provider is rendered? Be sure to remove any sensitive data such as Client IDs or domains.
I tried downloading it as you said and instead of using the a cloned github repo and am now seeing a failed get and post in the console and the page is saying invalid state when I try to login/signup with google. But I am at least correctly being redirected to the auth0 login page.
I also just found your expanded “complete” react guide and will be reading through that to get a better understanding of this works.
The auth0provider context wrapper looks to be exactly as your sample btw.
No problem! I’m glad to hear the download helped you make some progress!
Regarding the invalid state issue, if you are still encountering it after following the React guide, could you send me a HAR file as a private message to help me troubleshoot? Thanks!
Okay so I’m going through “The Complete guide to react user authentication” and I’m signing up but my button isn’t updating to “logout.” If I clear my catch I can go through the process again, or if I just click “login” again the page refreshes with this as the URL:
Other than this on first loading of the server I’m getting a CORS issue where its asking me to “indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute.”
Do I have a local storage issue? This is happening in incognito as well
It looks like in your code you might have <your-app-domain> somewhere. If you replace that with your actual application domain, it should fix it. You can find your app’s domain in the application settings.
“Invalid URI “https:///%3Cyour-app-domain%3E/v1alpha1/graphql””
Figured it out, it was rule I had made for an app with I’m trying to integrate with Hasura! I deleted it and it works. I’ll have to rewrite it for it to work with multiple apps.