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

passport-orange-openidconnect

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-orange-openidconnect - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

.idea/jsLibraryMappings.xml

4

package.json
{
"name": "passport-orange-openidconnect",
"version": "0.0.5",
"version": "0.0.6",
"description": "passport version for managing Orange openidconnect protocol",

@@ -20,5 +20,5 @@ "main": "index.js",

"dependencies": {
"passport-oauthkermit": "0.0.4",
"passport-oauthkermit": "0.0.5",
"pkginfo": "^0.3.0"
}
}

@@ -69,2 +69,3 @@ /**

function Strategy(options, verify) {
console.log('passport-orange-openidconnect:Strategy');
options = options || {};

@@ -85,2 +86,4 @@ options.authorizationURL = options.authorizationURL || 'https://api.orange.com/oauth/v2/authorize';

console.log('passport-orange-openidconnect:Strategy this._origCustomHeader='+this._origCustomHeader);
OAuth2Strategy.call(this, options, verify);

@@ -114,4 +117,6 @@

Strategy.prototype.userProfile = function (accessToken, done) {
console.log('passport-orange-openidconnect:userProfile');
this._oauth2.get(this._userProfileURI, accessToken, function (err, body, res) {
if (err) {
console.log('passport-orange-openidconnect:userProfile err='+err);
return done(err);

@@ -122,2 +127,3 @@ }

done(null, JSON.parse(body));
console.log('passport-orange-openidconnect:userProfile body='+JSON.parse(body));
} catch (e) {

@@ -136,2 +142,3 @@ done(e);

Strategy.prototype.setUserProfileURI = function (userProfileURI) {
console.log('passport-orange-openidconnect:setUserProfileURI '+userProfileURI);
this._userProfileURI = userProfileURI;

@@ -150,2 +157,3 @@ };

this._oauth2._customHeaders['Authorization'] = this._origCustomHeader['Authorization'];
console.log('passport-orange-openidconnect: '+this._oauth2._customHeaders);
};

@@ -161,2 +169,3 @@

Strategy.prototype.authorizationParams = function(options) {
console.log('passport-orange-openidconnect: '+this._stateParamCallback);
if(this._stateParamCallback) {

@@ -210,3 +219,5 @@ return {'state': this._stateParamCallback()};

Strategy.prototype.setStateParamCallBack = function(callback) {
this._stateParamCallback = callback;
console.log('passport-orange-openidconnect: '+setStateParamCallBack);
this._stateParamCallback = callback;
};

@@ -213,0 +224,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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