-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs]: Example: Integrating with Supabase Authentication #719
Comments
I'll keep in mind doing it once done in my project. |
Hi, Any update on this ? @wscourge have you given it a try? |
Nope. Have you? |
You need to create a Request/Response for client for serverless. Here is a generic function that allows to choose cookie methods:
once you have compose you can create a client for SSR or Middleware environment (they have different inputs)
once you are able to create a dbClient for serverles, it's same old, same old as in the docs:
Hope it helps.
|
Just made this PR, hope it helps: #856 |
There's another update coming to the Supabase authentication docs here: #1260 |
Link to page
https://next-intl-docs.vercel.app/docs/routing/middleware
Describe the problem
@supabase/auth-helpers-nextjs
is deprecated:It would be helpful if we update our example in the docs too. I don't have any experience with Supabase, therefore it would be helpful if someone who actively uses Supabase could adapt this.
@wscourge Since you've provided #673, do you by chance know how to upgrade?
The text was updated successfully, but these errors were encountered: