Supabase auth with Nextjs13, need to persist cookie past session

So I have a nextjs app using supabase auth and my users sign up/in using a magic link which adds a session cookie to their browser. And to authenticate a user on a page I just call the supabase server client and pass it the cookies from next/headers and call the getUser() function. No where do I have access to edit these cookies (or do I?). So my problem is that cookie that supabase creates has an expiry/max age of "session" so my user gets signed out everytime they close the browser (ie end a session). How do I edit that and make it never expire?
0 Replies
No replies yetBe the first to reply to this messageJoin