Skip to content

CodeWizardHemant/subdomain-auth

Repository files navigation

name Auth for subdomains
slug subdomains-auth
description Learn how to secure sub domains using Next.js and NextAuth.
framework Next.js
useCase Documentation
css Tailwind
deployUrl https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/solutions/subdomain-auth&project-name=subdomain-auth&repository-name=subdomain-auth&env=GITHUB_ID,GITHUB_SECRET,SECRET
demoUrl https://solutions-subdomain-auth.vercel.sh

Subdomain Auth Example

Secure sub domains in Next.js using NextAuth.js.

Demo

How to Use

You can choose from one of the following two methods to use this repository:

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Clone and Deploy

Execute create-next-app with pnpm to bootstrap the example:

pnpm create next-app --example https://github.com/vercel/examples/tree/main/solutions/subdomain-auth subdomain-auth

Next, run Next.js in development mode:

pnpm dev

Deploy it to the cloud with Vercel (Documentation).

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors