mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* Add vanilla Postgres adapter for NextAuth using the pg package. All tests are passing. * Fix typo in readme * Add basic tsconfig * Replace this.getUser with functio body as this is undef * Change name from @next-auth/postgres-adapter to @next-auth/pg-adapter * Fix package folder to be same as name * Add package to issue template, labeller and PR labeller * Commit pnpm lock change. * Set next-auth version to ^4 Co-authored-by: Balázs Orbán <info@balazsorban.com> * Return user id when updating user. Fixes #4897. * chore: format PR * chore: format PR * chore: formatting * fix: tests * fix --------- Co-authored-by: Jake Coppinger <jake@jakecoppinger.com> Co-authored-by: Balázs Orbán <info@balazsorban.com>
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
