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-rc2 to 2.0.0-rc3

10

CHANGES.md

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

2015-05-17, Version 2.0.0-rc2
2015-05-18, Version 2.0.0-rc3
=============================
* Fixed a minor bug where comparison of allowedScopes and tokenScopes is incorrect (Roy Klopper)
2015-05-16, Version 2.0.0-rc2
=============================
* 2.0.0-rc2 (Raymond Feng)
* Fix token deletion (Raymond Feng)

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

2

lib/oauth2-helper.js

@@ -73,3 +73,3 @@ var jwt = require('jws');

for (var i = 0, n = allowedScopes.length; i < n; i++) {
if (allowedScopes.indexOf(tokenScopes[i]) !== -1) {
if (tokenScopes.indexOf(allowedScopes[i]) !== -1) {
return true;

@@ -76,0 +76,0 @@ }

{
"name": "loopback-component-oauth2",
"version": "2.0.0-rc2",
"version": "2.0.0-rc3",
"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