passport-naver
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,0 +0,0 @@ var express = require('express') |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ /** |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14359
201
163
1