FYI: If a user signs up or logs in via email and password or a magic link, he’ll be redirected
to the /auth/(handlers)/confirm route which will take care of the auth related logic.
Email is Supabase’s default authentication method (which is relevant for email and password login / sign up and magic links). This should be enabled. If it’s not, here’s how to enable it:Supabase has a couple of built-in email templates that are used for sign-in, confirmation, etc. You can find these templates under the authentication tab and then click on Email Templates.However, we won’t be using these templates because we’ll be using Resend to send emails.
FYI: If a user signs up or logs in via Google, he’ll be redirected to the
/auth/(handlers)/callback route which will take care of the auth related logic.
You can follow the guide below to integrate Google authentication in about 2-3 minutes. You can also 2x the speed of the videos if I speak too slow.