next-auth
Version:
Authentication for Next.js
24 lines (20 loc) • 469 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Naver;
function Naver(options) {
return {
id: "naver",
name: "Naver",
type: "oauth",
authorization: "https://nid.naver.com/oauth2.0/authorize",
token: "https://nid.naver.com/oauth2.0/token",
userinfo: "https://openapi.naver.com/v1/nid/me",
profile(profile) {
return profile.response;
},
checks: ["state"],
options
};
}
;