Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
Getting Started
Providers
Naver

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