amannn / next-intl

🌐 Internationalization (i18n) for Next.js
https://next-intl-docs.vercel.app
MIT License
2.58k stars 236 forks source link

[Docs]: Middleware with Supabase Auth integration is outdated #1228

Closed harrybawsac closed 2 months ago

harrybawsac commented 3 months ago

Link to page

https://next-intl-docs.vercel.app/docs/routing/middleware#example-integrating-with-supabase-authentication

Describe the problem

Recently Supabase updated their SSR package. The cookies object has changed.

More information: https://supabase.com/docs/guides/auth/server-side/nextjs

amannn commented 3 months ago

Thanks for the hint!

Do you by chance have a working implementation and would like to propose an update to the middleware page?

harrybawsac commented 3 months ago

Yeah, I have a working project. Will make a proposal tomorrow!