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.3 to 1.0.4

8

lib/strategy.js

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

Strategy.prototype.userProfile = function (sns_token, done) {
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + sns_token, {
Strategy.prototype.userProfile = function (params, done) {
urllib.request(this._oauth2._userProfileURL + '?sns_token=' + params.sns_token, {
headers: {

@@ -104,2 +104,6 @@ 'Content-Type': 'application/json'

}, function (err, data) {
if (data.errcode) {
e = new Error(data.errmsg)
return done(e)
}
return done(err, data.user_info)

@@ -106,0 +110,0 @@ })

{
"name": "passport-dingding",
"version": "1.0.3",
"version": "1.0.4",
"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