Socket
Socket
Sign inDemoInstall

passport-youtube-v3

Package Overview
Dependencies
5
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.1.0

5

lib/passport-youtube-v3/strategy.js

@@ -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 @@ }

2

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc