Setting up Auth0 in my app for the first time and for the most part, things have been pretty seamless. I’ve been using this tutorial to set things up: https://auth0.com/blog/securing-gatsby-with-auth0/.
However, my problem arises when I set up silent auth. When I call the
checkSession method on the WebAuth object, the call takes over 10 seconds to complete, blocking the rest of my website from rendering while it completes.
I followed the suggestions on this thread: Check session function giving timeout error, but to no avail. My network requests appear to be fine (none taking longer than they should), and my console isn’t throwing any errors, so I’m at a loss.
Can someone tell me what I should check next? I’m working with a vanilla application.