supabase icon indicating copy to clipboard operation
supabase copied to clipboard

Possible or necessary modifications after the release of `@supabase/ssr`

Open MAXOUXAX opened this issue 2 years ago • 3 comments

I'd like this issue to be used as a forum for discussing necessary or possible modifications after the release of @supabase/ssr, whose guide is available here

Can/should changes be made to this module? If so, which ones? What are the implications?

MAXOUXAX avatar Nov 01 '23 21:11 MAXOUXAX

I would also really like to know. In the future, auth helpers will probably be deprecated but there are many other useful parts in this Nuxt module so I guess one can just make it sit atop @supabase/ssr by replacing createClient with createServerClient from @supabase/ssr (and in supabase.client.ts maybe rather with createBrowserClient)?

felixgabler avatar Dec 24 '23 14:12 felixgabler

I just submitted a PR that fixes an issue when using nuxt SSR with docker-compose. Other than that, everything seems to work fine. This project seems more or less abandoned, though... Maybe @larbish or @Atinux can clarify?

jfoucher avatar Dec 24 '23 19:12 jfoucher

It is not abandoned, just that the maintainer also work on other stuff, I commented on your PR :)

From what I see, the module works well anyway, but it could be nice to update for the @supabase/ssr.

I believe it could be updated on:

  • https://github.com/nuxt-modules/supabase/blob/main/src/runtime/plugins/supabase.server.ts
  • https://github.com/nuxt-modules/supabase/blob/main/src/runtime/server/services/serverSupabaseClient.ts

PR is more than welcome, this is a free and open community project, I will do my best to review it ❤️

atinux avatar Dec 27 '23 10:12 atinux