DEV Community

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

Posted on

4

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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay