Netlify Provider
Resources
Setup
Callback URL
https://example.com/api/auth/callback/netlifyEnvironment Variables
AUTH_NETLIFY_ID
AUTH_NETLIFY_SECRETConfiguration
/auth.ts
import NextAuth from "next-auth"
import Netlify from "next-auth/providers/netlify"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Netlify],
})