This is a SPA React app using
auth0-spa-js: 2.0.1. When a user registers successfully, they are redirected back to our page (i.e., https://mysite.org?email_verified=false&state=12345). When that happens, the app hangs as if not processing the callback. However, while it is hanging, if I reload the page, it loads successfully.
I have the HAR file with the request before and after the reload. Hopefully that will help figure out what is going on here. Thanks!
I can help if you want to DM me the HAR files.
Just curious, is there a reason you aren’t using Auth0 React?
According to the documentation, it sounded like the Auth0 React was just for convenience for setting it up. Does it offer more than that?
I actually JUST resolved the issue. I thought I only needed to call the
code was in the query, but not the case.
It’s a wrapper around the auth0-spa-js SDK, so functionality-wise it should be pretty similar. What it does give you is a way to interact with Auth0 using familiar React concepts. Also, our examples for React use it, which can help if you’re setting things up and need some guidance.
Great, I’ll mark this one resolved.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.