NextJS & Supabase Token Refresh
Unanswered
Amur catfish posted this in #help-forum
Amur catfishOP
Hi all, just wondering if someone can help me with my token refresh. Currently i have the token refresh in my middleware, but i realised there is a slight issue in that, if i dont change page or refresh, the middleware never gets triggered so then the token expires. What would be a normal way of approaching this ? Some sort of trigger that periodically refreshes the page or some sort of triggered token refresh?