Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0.0-beta3 to 2.0.0-beta4

8

CHANGES.md

@@ -0,4 +1,12 @@

2015-01-30, Version 2.0.0-beta4
===============================
* Make sure bodyParser doesn't interfere with proxy (Raymond Feng)
2015-01-08, Version 2.0.0-beta3
===============================
* v2.0.0-beta3 (Raymond Feng)
* Fix the oAuth2 auth middleware for an array of handlers (Raymond Feng)

@@ -5,0 +13,0 @@

11

lib/oauth2-loopback.js

@@ -707,4 +707,11 @@ /**

// The urlencoded middleware is required for oAuth 2.0 protocol endpoints
app.middleware('parse', app.loopback.urlencoded({extended: false}));
app.middleware('parse', app.loopback.json({strict: false}));
var oauth2Paths = [
options.authorizePath || '/oauth/authorize',
options.tokenPath || '/oauth/token',
options.decisionPath || '/oauth/authorize/decision',
options.loginPath || '/login'
];
app.middleware('parse', oauth2Paths,
app.loopback.urlencoded({extended: false}));
app.middleware('parse', oauth2Paths, app.loopback.json({strict: false}));

@@ -711,0 +718,0 @@ // Set up the oAuth 2.0 protocol endpoints

2

package.json
{
"name": "loopback-component-oauth2",
"version": "2.0.0-beta3",
"version": "2.0.0-beta4",
"description": "OAuth 2.0 provider for LoopBack",

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