Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

Mailchip Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_MAILCHIMP_ID
AUTH_MAILCHIMP_SECRET

Configuration

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