Patreon 供應商
資源
設定
回呼 URL
https://example.com/api/auth/callback/patreon
環境變數
AUTH_PATREON_ID
AUTH_PATREON_SECRET
組態
/auth.ts
import NextAuth from "next-auth"
import Patreon from "next-auth/providers/patreon"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Patreon],
})