logoDocsDocs
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • Installation
  • Boilerplate
  • Deploy
  • Customization
  • Enable / Disable Integrations
  • Database
    • PostgreSQL
    • Migrate the Schema
  • Authentication
    • NextAuth Setup
    • Google Login
    • Github Login
  • Sanity
    • Integration
    • Create an author
    • Write an article
    • API Integration
    • Webhook Integration
  • Mail/SMTP
  • Stripe
    • Get Secret Key
    • Create Product
    • Get Product Data
    • Webhook Integration
  • Algolia
  • Mailchimp
  • Templates
    • Startup
    • Solid
    • Play
    • AI Tool
    • NextBlog
    • NextCommerce
    • Base
    • Agency
    • Crypto
    • Appline
    • Go
  • Markdown Support
  • Downloads
  • Resources
Question? Give us feedback → (opens in a new tab)
Docs
Authentication

Authentication

In this part of the documentation we are going to show you how to configure NextAuth and enable Authentication.

First setup Database & NextAuth then follow any of the method you want:

  • Google Authentication
  • Github Authentication
💡

Note: We only showed you how to integrate Google and GitHub authentication. If you want, you can integrate other providers too. Checkout the NextAuth documentation (opens in a new tab) for more information.

Migrate the SchemaNextAuth Setup
logo

Professionally designed, coded, and ready to use Next.js templates, starters and boilerplates.

Our Products

  • Lineicons
  • TailAdmin
  • TailGrids
  • GrayGrids
  • SaaSBold
  • UIdeck

Useful Links

  • Next.js Webite
  • Next.js SaaS Boilerplate
  • Next.js Templates

Terms and Policies

  • License
  • Privacy Policy
  • Refund Policy

Support & Help

  • Support Ticket
  • Docs
  • FAQs

© Copyright 2025 - nextjstemplates.com| A Product by