Short version: After moving to supabase-js v2 I'm seeing that if my JWT expires while sat idle in the app, I get 400 errors and console messages saying 'Invalid refresh_token', I'm not sure if this is a bug, expected behaviour, or if I've done something wrong. Full details are in the github issue...
I only noticed this as I dropped my JWT expiry right down to a 5-mins in order to do some testing on returning users with my changes for supabase-js v2 when I noticed this.
Bug report Describe the bug I have a Vue 3 SPA using Pinia and Vue Router. I use signInWithOtp as my auth method. I recently updated to supabase-js v2 and everything seemed fine at first but I noti...
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.