What are some good tutorials or examples that can show me how to implement Google OAuth with Next.js? (not using NextAuth)

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • auth0-java

    Java client library for the Auth0 platform

  • Check out the library auth0; they have prebuilt Google OAuth solutions ready to go. Here's a video about it by Fireship: Auth0 in 100 Seconds (including a tutorial on setting up Next.js authentication with it after the 100 seconds).

  • gdschool

  • (you can see the project I'm working on here).

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • supabase-custom-claims

    How to implement custom claims with Supabase

  • No, you don't need to do this. The currently logged in user will be available in the session object (user) so you don't need to query the database to get the logged in user. Just use the uid (userid) field from the user object to get the profile data you need. If you want to speed things up even further, you can avoid hitting the database altogether and store some of the profile data in a custom claim, as seen here: https://github.com/supabase-community/supabase-custom-claims (but that's probably overkill -- you can safely just use a profile table and it'll be fast enough.

  • auth-helpers

    Discontinued A collection of framework specific Auth utilities for working with Supabase. [Moved to: https://github.com/supabase/auth-helpers] (by supabase-community)

  • Now I'm facing another pretty big issue.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts