Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
API reference
@auth/postgresjs-adapter

@auth/postgresjs-adapter

An official PostgreSQL adapter for Auth.js / NextAuth.js.

Installation

npm install next-auth@beta @auth/postgresjs-adapter postgres

default()

default(sql): Adapter

Parameters

ParameterType
sqlSQL

Returns

Adapter

Auth.js © Balázs Orbán and Team - 2024