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

loopback-component-oauth2

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-component-oauth2 - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

6

CHANGES.md

@@ -0,1 +1,7 @@

2015-06-25, Version 2.3.3
=========================
* Add an option to add http headers for app/user ids (Raymond Feng)
2015-06-23, Version 2.3.2

@@ -2,0 +8,0 @@ =========================

@@ -86,2 +86,14 @@ var async = require('async')

}
if (options.addHttpHeaders) {
var prefix = 'X-OAUTH2-';
if (typeof options.addHttpHeaders === 'string') {
prefix = options.addHttpHeaders;
}
if (appId != null) {
req.headers[prefix + 'CLIENT-ID'] = appId;
}
if (userId != null) {
req.headers[prefix + 'USER-ID'] = userId;
}
}
var authInfo =

@@ -88,0 +100,0 @@ {accessToken: token, user: user, app: app, client: app};

4

package.json
{
"name": "loopback-component-oauth2",
"version": "2.3.2",
"version": "2.3.3",
"description": "OAuth 2.0 provider for LoopBack",

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

"optionalDependencies": {
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.3.2"
"sl-blip": "http://blip.strongloop.com/loopback-component-oauth2@2.3.3"
},

@@ -54,0 +54,0 @@ "engines": {

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