Long load time when refreshing or returning to page after loggin in

Hello, I am building a react app based project using Gatsby.

The login and logout works very well while only allowing a specific email domain to enter the site.

Although I am currently having the issue where after a user authenticates and enters the site, if they refresh the page or leave the site and return, there is a long (approximately 30 seconds) wait on a blank page until the user is actually redirected to the site.

I believe it has something to do with the silent authentication as that is how it can remember that a user has already logged in but cant figure out why it would be causing such a long wait. Any help would be greatly appreciated. Thanks!

Hi @jacob.westerbeek,

Welcome to the Community! I apologize for the delay.

Can you DM me a HAR file of the transaction so we can see what is going on? 30 seconds sounds like timeout territory, a bit long for a silent auth.

Thanks,
Dan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.