mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
Next.js 13.4 [is out](https://nextjs.org/blog/next-13-4). For discussing project-related issues, please use https://github.com/nextauthjs/next-auth/discussions/8487 The new version of NextAuth.js is based on `@auth/core`. If you want to test it out, you can do so already, installing `next-auth@experimental`: - **Documentation**: https://authjs.dev/reference/nextjs - **Migration guide**: https://authjs.dev/guides/upgrade-to-v5 BREAKING CHANGE: Follow the [migration guide](https://authjs.dev/guides/upgrade-to-v5)
Auth.js
Authentication for Next.js
Open Source. Full Stack. Own Your Data.
Overview
This is the repository for the documentation page for Auth.js!
NextAuth.js is a complete open source authentication solution for Next.js applications.
This documentation site is based on the Docusaurus framework.
Getting Started
To start a local environment of this project, please do the following.
- Clone the repo:
git clone git@github.com:nextauthjs/next-auth.git
cd next-auth
- Set up the correct pnpm version, using Corepack. Run the following in the project'a root:
corepack enable pnpm
(Now, if you run pnpm --version, it should print the same verion as the packageManager property in the package.json file)
- Install packages. Developing requires Node.js v18:
pnpm install
- Start the development server
pnpm dev:docs
And thats all! Now you should have a local copy of this docs site running at localhost:3000!
Contributing
We're open to all community contributions! If you'd like to contribute in any way, please first read our Contributing Guide.
License
ISC
