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

passport-keycloak-bearer

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-keycloak-bearer - npm Package Compare versions

Comparing version 1.0.2-beta.1 to 1.0.2-beta.2

10

lib/strategy.js

@@ -10,3 +10,3 @@ "use strict";

var _logging = _interopRequireDefault(require("./logging"));
var _simpleNodeLogger = _interopRequireDefault(require("simple-node-logger"));

@@ -25,3 +25,3 @@ var _jwtVerification = _interopRequireDefault(require("./jwtVerification"));

const log = (0, _logging.default)('Keycloak: Bearer strategy');
const log = _simpleNodeLogger.default.createSimpleLogger();

@@ -47,3 +47,3 @@ const verifyOptions = options => {

this.log = log;
this.log.levels('console', options.loggingLevel || 'warn');
this.log.setLevel(options.loggingLevel || 'warn');
this.log = options.customLogger ? options.customLogger : log;

@@ -122,6 +122,6 @@ this.userVerify = verify || this.success;

this.log.debug('KeycloakBearerStrategy - Passing req back to callback');
this.userVerify(req, verifiedToken, user, this.verified);
this.userVerify(req, verifiedToken, user, this.verified.bind(this));
} else {
this.log.debug('KeycloakBearerStrategy - We did not pass Req back to callback');
this.userVerify(verifiedToken, user, this.verified);
this.userVerify(verifiedToken, user, this.verified.bind(this));
}

@@ -128,0 +128,0 @@ }

{
"name": "passport-keycloak-bearer",
"version": "1.0.2-beta.1",
"version": "1.0.2-beta.2",
"description": "HTTP Bearer authentication strategy for Passport and Keycloak",

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

"axios": "0.19.0-beta.1",
"bunyan": "^1.8.12",
"jsonwebtoken": "^8.3.0",
"passport-strategy": "^1.0.0"
"passport-strategy": "^1.0.0",
"simple-node-logger": "^0.93.40"
},

@@ -56,0 +56,0 @@ "devDependencies": {

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