getClaims in supabase ssr
Hi, I am trying to make it so my middleware in NextJs does not make a database call every time to provide better UX, I tried using getClaims but seems like it does not refresh the access token with supabase ssr?
Anyone has a solution, should I refresh token with my own logic when trying to access data I check the token is fresh, etc?
Anyone has a solution, should I refresh token with my own logic when trying to access data I check the token is fresh, etc?