Refresh page requires re-login in using google authentication

Here is my online version: https://www.opencourse.club/.

If the user logins in the system using sign with Google, every time you refresh a page that requires authentication, the page redirects to the sign-in portal.

But if the user signs the system using email and password, refreshing the authentication required page doesn’t redirect to the login portal.

Hi @TitanMikasa,

Based on this solution and testing it out myself, it looks like to persist the session after a refresh, you’ll need to use your own Google developer OAuth credentials instead of the default Auth0 developer keys.

Here is a guide for setting up your Google social connection: https://auth0.com/docs/connections/social/google

1 Like

thanks for the instant reply, I guess it would help.

1 Like

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