This repository contains the source code for the educational video on the tapaScript YouTube Channel. You will find various Next-Auth implementation details and the source code in this repository.
Liked my work? You can show your support with a STAR(⭐).
Stargazers
who have supported this project with stars(⭐)I am an independent educator who creates meaningful projects to teach programming. You can support me further by sponsoring me on GitHub.
This is a Next.js project bootstrapped with create-next-app
.
First, install dependencies using,
npm install
Create a .env
file at the root of the project folder with the following content:
GOOGLE_CLIENT_ID=<YOUR_GOOGLE_CLIENT_ID>
GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_ID>
GITHUB_CLIENT_ID=<YOUR_GITHUB_CLIENT_ID>
GITHUB_CLIENT_SECRET=<YOUR_GITHUB_CLIENT_ID>
AUTH_SECRET="Auth Secret"
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.