DEV Community

Cover image for Google Sign in using Supabase, NextJS
Rajesh Ranjan
Rajesh Ranjan

Posted on

Google Sign in using Supabase, NextJS

Supabase is really an awesome opensource 👌 alternative to Google's Firebase. Its really really simple to setup the database, authentication flow, uploading/downloading stuffs to/from the server. In this tutorial let's create a really simple authentication system that uses Google's oAuth to authenticate users and is **persistent **also incase you close the browser also.🤩

For this tutorial we'll use NextJS for frontend (you can choose react/remix as you prefer), tailwind for little styling as it makes CSS styling superrrrr fast. Image description

Just a simple login page for demo:
Image description

Image description

Setup your Google Cloud Project using the official tutorial from the Supabase team by going to this link:

Fork this Repo and integrate in your own project easily plus you can easily customize it with no breaking changes.🤩

Hope it helps you! ✌️ and if you have any issues please let me know in the comments.
https://github.com/rajesh6161/SupabaseOAuth

Top comments (0)