Mailchip Provider
리소스
설정
콜백 URL
https://example.com/api/auth/callback/mailchimp
환경 변수
AUTH_MAILCHIMP_ID
AUTH_MAILCHIMP_SECRET
설정
/auth.ts
import NextAuth from "next-auth"
import MailChimp from "next-auth/providers/mailchimp"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [MailChimp],
})