New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.1 to 1.1.2

7

lib/oidcMatadata.js

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

return new Promise((resolve, reject) => {
if (this.keys) {
if (Array.isArray(this.keys)) {
return resolve(this.keys);

@@ -70,3 +70,3 @@ }

return this.getPemKeys().then(keys => {
const keyforToken = keys.find(key => key.kid === token.header.kid);
const keyforToken = (keys || []).find(key => key.kid === token.header.kid);

@@ -80,2 +80,5 @@ if (!keyforToken) {

}
}).catch(err => {
this.log.warn(err.message);
done(err);
});

@@ -82,0 +85,0 @@ } catch (error) {

{
"name": "passport-keycloak-bearer",
"version": "1.1.1",
"version": "1.1.2",
"description": "HTTP Bearer authentication strategy for Passport and Keycloak",

@@ -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