You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
createClient(supabaseUrl, supabaseKey, {
localStorage: AsyncStorage as any,
autoRefreshToken: true
});
and setting the JWT expiry to 60 (seconds) on the supabase dashboard, the token does not refresh after 60 seconds have elapsed. Oddly enough, setting the JWT expiry to anything less than 60 triggers the token refresh but it constantly updates without waiting for expiry
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Setup RN project (I used expo bare)
Set JWT expiry to 60
Add supabase auth state listener
Sign in
Wait for refresh token to update (doesn't update)
Expected behavior
The token should refresh after the expiry time set on the supabase dashboard