JSPM

  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q79310F
  • License MIT

Adds Clerk Support to the Antribute Backend

Package Exports

  • @antribute/backend-auth-clerk

Readme

Antribute Backend Clerk Provider

Adds Clerk Support to the Antribute Backend

Installation

pnpm i @antribute/backend-clerk -D && pnpm i @clerk/clerk-sdk-node

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-clerk' } });
  3. Run the Antribute CLI to auto-generate required files