Skip to content

Hamdan-Khan/nextjs-github-oauth

Repository files navigation

Next.js Github OAuth Template

Created this customizable template for implementing GitHub OAuth authentication in Next.js. Just to avoid the complexity of next-auth

  • Next.js v15 + TypeScript
  • Direct GitHub OAuth implementation
  • Custom Session Management

Installation

  1. Clone the repo

  2. Install the modules

pnpm install
  1. Set the environment variables in the .env file

Setting Up GitHub OAuth

  1. Go to GitHub Developer Settings > OAuth Apps > New OAuth App

  2. Fill in the application details:

  3. Copy the generated Client ID and Client Secret to your .env.local file

Contributions are welcome!

About

Next.js github oauth template (without external auth dep)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy