Skip to main content

Setup

1

Get credentials

Go to developers.naver.com and create an application. Under API Settings, add Naver Login and set your redirect URI:
2

Configure

lib/theauth.ts

Scopes

Default scopes: email, profile
This is a preset built on the generic OIDC factory, which reads the user from https://openapi.naver.com/v1/nid/me and requires the response to contain the OIDC sub and email fields. That endpoint returns an id field nested under response, so sign-in is expected to fail with Naver userinfo response missing required "sub" field. This preset has not been verified against the live service.

Endpoints

Last modified on October 18, 2026