Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
Getting Started
Providers
Patreon

Patreon Provider

Resources

Setup

Callback URL

https://example.com/api/auth/callback/patreon

Environment Variables

AUTH_PATREON_ID
AUTH_PATREON_SECRET

Configuration

/auth.ts
import NextAuth from "next-auth"
import Patreon from "next-auth/providers/patreon"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Patreon],
})
Auth.js © Balázs Orbán and Team - 2024