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

passport-dingding

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-dingding - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

lib/strategy.js

@@ -96,7 +96,4 @@ // Load modules.

Strategy.prototype.userProfile = function (params, done) {
if (!params.sns_token) {
return done(new Error('sns_token is required for userProfile api'))
}
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + params.sns_token, {
Strategy.prototype.userProfile = function (sns_token, done) {
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + sns_token, {
headers: {

@@ -103,0 +100,0 @@ 'Content-Type': 'application/json'

{
"name": "passport-dingding",
"version": "1.0.2",
"version": "1.0.3",
"description": "dingding authentication strategy for Passport.",

@@ -5,0 +5,0 @@ "keywords": [

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