@antribute/backend-auth-nextauth
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-dev.03a85f44875cc2268b504dba024aa82fb2e1f8f0 • Public • Published

Antribute Backend NextAuth Provider

Adds NextAuth.js Support to the Antribute Backend

Installation

pnpm i @antribute/backend-auth-nextauth -D next-auth

If your application's ORM is prisma, also install the following peer dependency

pnpm i @next-auth/prisma-adapter

Usage

  1. Create a new file called .antributerc.ts
  2. Add the following
    import { defineConfig } from '@antribute/backend-core';
    export default defineConfig({ auth: { platform: '@antribute/backend-auth-nextauth' } });
  3. Run the Antribute CLI to auto-generate required files

Package Sidebar

Install

npm i @antribute/backend-auth-nextauth

Weekly Downloads

2

Version

0.1.0-dev.03a85f44875cc2268b504dba024aa82fb2e1f8f0

License

MIT

Unpacked Size

3.09 kB

Total Files

3

Last publish

Collaborators

  • antribute-ci
  • jrkienle