Authentication

NeoSaaS uses Supabase Auth to handle user sign-up, login, and session management.

Email Auth

1
Go to your Supabase dashboard.

This is where you manage your database, auth settings, and more.

  https://supabase.com
2
Navigate to Authentication

This section lets you control how users register and log in.

3
Go to Sign In / Providers

Email provider automatically enabled in default Supabase settings. You can also enable Google and Github providers optionally.

4
Navigate to URL Configuration and set the following:

Site URL (Used during local development for redirects)

http://localhost:3000

Redirect URLs (These are the URLs users will be redirected to after login/logout)

http://localhost:3000, https://yourdomain.com

Google Auth

You can easily follow along by watching the video at this link.

https://youtu.be/sB6bPOvvlgw?si=57X2CjkIp7kNahn-

Github Auth

You can easily follow along by watching the video at this link.

https://youtu.be/RlfCIvmimSA?si=8F375eU6WnpizVjK

Warning:

You only need to focus on the configuration part of the videos; there's no need to make any changes to the code.