Closed rmarscher closed 11 months ago
Hey, seems great! You could setup the pr to push to a new lucia-auth
branch, then I can add to the cli a --lucia-auth
flag to pull that branch instead of main when scaffolding a new project. Keep up the good work 🤟
I've created the new lucia-auth
branch so you can create a PR directly to that and we can continue the development over there without conflicting with the current supabase implementation. Take care 👍
I've created the new
lucia-auth
branch so you can create a PR directly to that and we can continue the development over there without conflicting with the current supabase implementation. Take care 👍
Perfect. Thanks. 🙌
Per our discussions on discord, here's an example of switching to lucia-auth.
It might be interesting to use a generator to give t4 app users the option to scaffold lucia-auth or supabase. I tried to not remove too much of the supabase code here with switching to lucia-auth.
I added a little example to send email via resend.com if the RESEND_API_KEY is set. Otherwise, it returns an error with the email link it would have sent.
I added code for apple sign-in, google and discord. I don't personally have those set up... so it would be good if someone could try this and make any necessary fixes. I haven't tested that and I haven't tested thoroughly on native. Most of my testing was with email sign-in on web.