Files
archived-next-auth/docs
Thang Vu 6780ed7fee feat: add pg adapter (#8679)
* 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>
2023-09-22 14:49:01 +07:00
..
2023-09-22 14:49:01 +07:00
2023-09-22 14:49:01 +07:00
2023-08-25 11:39:11 +02:00
2023-09-22 14:49:01 +07:00
2023-08-25 11:39:11 +02:00
2023-08-09 11:20:10 +02:00


Auth.js

Authentication for Next.js

Open Source. Full Stack. Own Your Data.

Release Bundle Size Downloads Github Stars Github Stable Release

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.

  1. Clone the repo:
git clone git@github.com:nextauthjs/next-auth.git
cd next-auth
  1. 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)

  1. Install packages. Developing requires Node.js v18:
pnpm install
  1. 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