supabase-community / nuxt-supabase

A supa simple wrapper around Supabase.js to enable usage within Nuxt.
https://supabase.io
MIT License
167 stars 17 forks source link

Nuxt/Auth provider #7

Open scottrobertson opened 3 years ago

scottrobertson commented 3 years ago

We should add a Nuxt auth provider. Details here:

https://github.com/nuxt-community/auth-module/issues/1082

scottrobertson commented 3 years ago

@sduduzog any experience with this side of things? I'm gonna dive into it this weekend and build something.

sduduzog commented 3 years ago

I have none at all. I might join you but mostly for the TS setup. I've never had a chance to use the auth module

scottrobertson commented 3 years ago

So I think we would need to make a scheme and a provider. Similar to how auth0 is done.

https://github.com/nuxt-community/auth-module/tree/dev/src/schemes https://github.com/nuxt-community/auth-module/tree/dev/src/providers