Skip to main content
Version: v4

Fullstack

Refresh Token Rotationโ€‹

  • How to implement refresh token rotation.

LDAP Authenticationโ€‹

  • How to use the Credentials Provider to authenticate against an LDAP database. This approach can be used to authenticate existing user accounts against any backend.

Adding HTTP(S) Proxy Supportโ€‹

  • Add support for HTTP/HTTPS Proxy support to openid-client in order to use NextAuth.js behind a corporate proxy or other locked down network.

Using the Email Provider behind Corporate Email Scanning Servicesโ€‹

  • An internal tutorial on modifying the catch-all API Route to gracefully handle HEAD requests.

Databaseโ€‹

Custom models with TypeORMโ€‹

  • How to use models with custom properties using the TypeORM adapter.

Creating a database adapterโ€‹

  • How to create a custom adapter, to use any database to fetch and store user / account data.

Adding role based login to database session strategyโ€‹

  • Implement a role based login system by adding a custom session callback.