Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

passport-naver

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-naver - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

0

examples/app.js

@@ -0,0 +0,0 @@ var express = require('express')

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ /**

7

lib/strategy.js

@@ -13,4 +13,5 @@ /**

options = options || {};
 
options.authorizationURL = options.authorizationURL || 'https://nid.naver.com/oauth2.0/authorize';
options.authorizationURL = options.authorizationURL || 'https://nid.naver.com/oauth2.0/authorize?response_type=code';
if (options.svcType !== undefined) options.authorizationURL += '&svctype=' + options.svcType;
options.tokenURL = options.tokenURL || 'https://nid.naver.com/oauth2.0/token';

@@ -40,3 +41,3 @@

if (err) { return done(new InternalOAuthError('failed to fetch user profile', err)); }
 
try {

@@ -43,0 +44,0 @@ // parse the user profile XML to JSON object

{
"name": "passport-naver",
"version": "1.0.2",
"version": "1.0.3",
"description": "Naver authentication strategy for Passport",

@@ -30,3 +30,8 @@ "keywords": [

"url": ""
}
},
{
"name": "Seunglak Choi",
"email": "seunglak@gmail.com",
"url": ""
}
],

@@ -33,0 +38,0 @@ "licenses": [

@@ -87,3 +87,3 @@ # Passport-Naver

clientSecret: config.naver.clientSecret,
callbackURL: config.naver.callbackURL
callbackURL: config.naver.callbackURL,

@@ -118,3 +118,4 @@

clientSecret: client_secret,
callbackURL: callback_url
callbackURL: callback_url,
svcType: 0 // optional. see http://gamedev.naver.com/index.php/%EC%98%A8%EB%9D%BC%EC%9D%B8%EA%B2%8C%EC%9E%84:OAuth_2.0_API
}, function(accessToken, refreshToken, profile, done) {

@@ -190,3 +191,3 @@ process.nextTick(function () {

- [Jared Hanson](http://github.com/jaredhanson)
- [Chanhee Kim]()
- Chanhee Kim(chanhee.kim@navercorp.com)

@@ -196,2 +197,3 @@ ## Author

- [Young-il Cho](http://github.com/terzeron)
- [Seunglak Choi](http://github.com/seunglak)

@@ -202,2 +204,2 @@ ## License

Copyright (c) 2014 Naver Corp.
Copyright (c) 2014 Naver Corp.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc