passport-youtube-v3
Advanced tools
Comparing version 0.0.2 to 0.1.0
@@ -60,3 +60,3 @@ /** | ||
var youtubeProfile = json.items && json.length && json.items[0]; | ||
var youtubeProfile = json.items && json.items.length && json.items[0]; | ||
@@ -107,3 +107,4 @@ var profile = { provider: 'youtube' }; | ||
return { | ||
access_type : 'offline' | ||
access_type : 'offline', | ||
approval_prompt: 'force' | ||
} | ||
@@ -110,0 +111,0 @@ } |
{ | ||
"name": "passport-youtube-v3", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Youtube v3 API OAuth2 authentication strategy for Passport. Based on the passport-youtube module", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -30,3 +30,3 @@ passport-youtube-v3 | ||
callbackURL: "http://localhost:3000/auth/youtube/callback", | ||
scope: 'https://www.googleapis.com/auth/youtube.readonly' // Default separator is , | ||
scope: ['https://www.googleapis.com/auth/youtube.readonly'] | ||
}, | ||
@@ -33,0 +33,0 @@ function(accessToken, refreshToken, profile, done) { |
6285
101