Socket
Socket
Sign inDemoInstall

@mashroom/mashroom-security-provider-ldap

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mashroom/mashroom-security-provider-ldap - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

5

dist/MashroomLdapSecurityProvider.js

@@ -52,8 +52,7 @@ "use strict";

async authenticate(request, response, authenticationHints = {}) {
let buff = Buffer.from(decodeURI(request.originalUrl));
const base64encodedReferrer = buff.toString('base64');
const encodedRedirectUrl = encodeURIComponent(request.originalUrl);
const authenticationHintsQuery = _querystring.default.stringify(authenticationHints);
response.redirect(`${this._loginPage}?ref=${base64encodedReferrer}${authenticationHintsQuery ? '&' + authenticationHintsQuery : ''}`);
response.redirect(`${this._loginPage}?redirectUrl=${encodedRedirectUrl}${authenticationHintsQuery ? '&' + authenticationHintsQuery : ''}`);
return {

@@ -60,0 +59,0 @@ status: 'deferred'

8

package.json

@@ -7,3 +7,3 @@ {

"license": "MIT",
"version": "1.4.3",
"version": "1.4.4",
"files": [

@@ -17,5 +17,5 @@ "dist/**"

"@babel/cli": "^7.8.4",
"@mashroom/mashroom": "1.4.3",
"@mashroom/mashroom-security": "1.4.3",
"@mashroom/mashroom-utils": "1.4.3",
"@mashroom/mashroom": "1.4.4",
"@mashroom/mashroom-security": "1.4.4",
"@mashroom/mashroom-utils": "1.4.4",
"eslint": "^6.8.0",

@@ -22,0 +22,0 @@ "express": "^4.17.1",

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