0.1.0-dev.d1d952a97ee1988007310edcb349055aa52a77a0 • Published 2 years ago
@antribute/backend-auth-clerk v0.1.0-dev.d1d952a97ee1988007310edcb349055aa52a77a0
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
- Create a new file called
.antributerc.ts
- Add the following
import { defineConfig } from '@antribute/backend-core'; export default defineConfig({ auth: { platform: '@antribute/backend-clerk' } });
- Run the Antribute CLI to auto-generate required files