New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

passport-control-tower

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-control-tower - npm Package Compare versions

Comparing version 0.1.6 to 0.1.8

5

lib/auth.js

@@ -12,2 +12,3 @@ const request = require('superagent');

this.callbackUrl = options.callbackUrl;
this.applications = options.applications;
}

@@ -71,7 +72,7 @@

Strategy.prototype.login = function login(req, res) {
res.redirect(`${this.controlTowerUrl}/auth?callbackUrl=${this.callbackUrl}&token=true`);
res.redirect(`${this.controlTowerUrl}/auth?callbackUrl=${this.callbackUrl}&token=true&applications=${this.applications}`);
};
Strategy.prototype.logout = function logout(req, res) {
res.redirect(`${this.controlTowerUrl}/auth/logout?callbackUrl=${this.callbackUrl}&token=true`);
res.redirect(`${this.controlTowerUrl}/auth/logout?callbackUrl=${this.callbackUrl}&token=true&applications=${this.applications}`);
};

@@ -78,0 +79,0 @@

2

package.json
{
"name": "passport-control-tower",
"version": "0.1.6",
"version": "0.1.8",
"description": "A Passport's strategy for Control Tower",

@@ -5,0 +5,0 @@ "main": "lib/auth.js",

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