React useAuth undefined when logging in and then going to different page/url

Hi @mgava,

Welcome to the Auth0 Community Forum!

Are you using spa.js? If so, it sounds like this FAQ may address your issue.

http://community.auth0.com/t/in-auth0-spa-js-why-does-the-auth0client-object-take-a-long-time-to-initialize/27878

Let me know if that does it.

Warm Regards,
Dan

1 Like