[Auth-helpers] Issues with refresh token when extending JWT expiration

Hello,

Disclaimer: I'm self-hosting Supabase.

When I leave GOTRUE_JWT_EXP on the default value of 3600 I don't get any error, but if I extend it to like a month (2592000) I get the error in the screenshot while loading the session on the website.

Do I need to change something else?

Doing something like this also returns the same error every single time:
setInterval(async () => {
    await supabase.auth.refreshSession()
}, 1000)
image.png
Was this page helpful?