So I have a login button on my landing page (www.example.com) and it redirects to my single page app/dashboard (www.example.com/home) after login. However, if I go back to the landing page my useAuth function is undefined for ~30 seconds.
Thanks for your reply! Yes that was the problem. Specifically, this post also helped me once I looked at my logs: Failed Silent Auth problem, for anyone running into this problem too. Thanks again for your help.