I deployed a Nuxt 3 app which uses Supabase for authentication to Netlify. On the local development server, authentication works as intended and the cookies are being set. However, on the deployed site, Netlify doesn’t set and persist the authentication cookie on the front-end.
No, Netlify doesn’t set the cookies from the authentication with Supabase. That is the responsibility of your app/script.
Without knowing the domain in question, and having information about how the app is setting (or is trying to set) cookies, it does make it difficult to offer any assistance.
Looking through the codebase, I cannot see anywhere you are setting a cookie. I see you are reading the set-cookie header in fetchWithCookie.js and setting a persisted state.
You’d have your page do so using all the typical methods, which will be specific to your implementation, framework, and language. The generic javascript that does this is described here: