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

Naver Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_NAVER_ID
AUTH_NAVER_SECRET

Configuration

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