I am stuck in a loop where I can see the auth redirect callback being called, I can log the cookies being set in 'setAll' inside the proxy, but when it comes to the page (both server and client fetch) the user is null. Even in the proxy the user is null and it redirects back to the login page. If I remove the redirect from the proxy the main page has a null user object and simply displays you are not logged in. In the devtools -> application -> cookies I see only one cookie for auth-token-verifier, none for the actual tokens, even though the logs show them being passed into the 'setAll' method.
All relevant files below, I hope someone might be able to spot something obvious I am doing wrong.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.