Thor 雷神 Schaeff
Thor 雷神 Schaeff
@ilyabo you should be able to use the `createMiddlewareSupabaseClient`: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#auth-with-nextjs-middleware As middleware is always run on the edge: https://nextjs.org/docs/api-reference/edge-runtime Which brings up a good point that we should likely rename...
I think there is an issue with `next/headers`: https://github.com/vercel/next.js/issues/45371 . We're currently checking with the Vercel team.
You could try increasing the reuse interval. The client and server might be refreshing fairly close to each other in with that invalidate the token. But yah, if you have...
@thisisisheanesu always 💚
@iuioiua the Auth component needs to be client-side rendered as it's making a bunch of Ajax requests, so I think we need to put it into and island component. I...
@iuioiua when running your repo https://github.com/iuioiua/fresh-supabase-auth-ui I don't get anything rendered to the screen, but I'm afraid I have no idea why that is. Probably would need someone with deep...
I'll keep this open to track Deno support for the future 👍
I remember I had checked this in the past and it was using the correct fetch. We'll investigate. In the meantime, you can pass the `fetch` object to the `createClient`...
Hmm, we could probably append the project ref to the cookie name to scope the cookie to a project. That's what supabase-js is doing for localStorage: https://github.com/supabase/supabase-js/blob/master/src/SupabaseClient.ts#L104
I'm currently also not sure why that's happening. I see you've also opened this issue here: https://github.com/stripe-samples/stripe-node-deno-samples/issues/2. I'll check with the Stripe folks in their Discord.