Authentication for Next.js
Open Source. Full Stack. Own Your Data.
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.
To start a local environment of this project, please do the following.
- Clone the repo:
git clone [email protected]:nextauthjs/next-auth.git
cd next-auth
- Set up the correct pnpm version, using Corepack. Run the following in the project's root:
corepack enable pnpm
(Now, if you run pnpm --version
, it should print the same version 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 that's all! Now you should have a local copy of this docs site running at localhost:3000!
We're open to all community contributions! If you'd like to contribute in any way, please first read our Contributing Guide.
ISC