Hey, I am using google oauth in supabase, why i am...
# help
r
Hey, I am using google oauth in supabase, why i am getting logged out automatically after few mins, how do i fix this?
k
Is this 60 minutes, by any chance? Have you changed your JWT Expiry TTL in Authentication settings?
r
no it says 3600 in jwt expiry
I tried increasing it but it says Update config failed: An error has occured: Failed to fetch
k
right, but the important part is: do you get logged out after ~1h, or earlier?
can you see what's the server response when your app thinks you're logged out?
r
earlier, and very frequently. it happens when i make changes in the code while server is running on localhost or when i refresh it, and no response when it happens
k
it sounds like you're not reusing the auth/refresh token between page refreshes, but I have no idea how to help you debug that :-C