supabase refreshing token causes payments to not redirect
Closed this issue · 1 comments
matthewwong525 commented
Steps to reproduce:
- Login
- Wait for a while for localStorage token to expire
- Go to payments link in Flutter
- User will be logged in, supabase will fetch another refresh token and it'll end
Expected result:
- should redirect to payments page. Should not go back to home page even when it refreshes (potentially have it so that we don't clear the intialUrl until it goes to a different page)
- worse case we can redirect even if the screen changes ✅
matthewwong525 commented
doing worst case to save time