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.3.1 to 2.3.2

6

CHANGES.md

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

2015-06-23, Version 2.3.2
=========================
* Pass req to checkAccessToken (Raymond Feng)
2015-06-18, Version 2.3.1

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

4

lib/resource-server.js

@@ -28,3 +28,3 @@ var async = require('async')

function checkAccessToken(accessToken, done) {
function checkAccessToken(req, accessToken, done) {
debug('Verifying access token %s', accessToken);

@@ -100,3 +100,3 @@ models.accessTokens.find(accessToken, function(err, token) {

function accessTokenValidator(req, accessToken, done) {
verifyAccessToken(accessToken, function(err, user, info) {
verifyAccessToken(req, accessToken, function(err, user, info) {
if(!err && info) {

@@ -103,0 +103,0 @@ req.accessToken = info.accessToken;

{
"name": "loopback-component-oauth2",
"version": "2.3.1",
"version": "2.3.2",
"description": "OAuth 2.0 provider for LoopBack",

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

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

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