Socket
Socket
Sign inDemoInstall

oauth2orize

Package Overview
Dependencies
4
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.0 to 1.8.1

4

lib/exchange/clientCredentials.js

@@ -87,2 +87,6 @@ /**

if (scope) {
if (typeof scope !== 'string') {
return next(new TokenError('Invalid parameter: scope must be a string', 'invalid_request'));
}
for (var i = 0, len = separators.length; i < len; i++) {

@@ -89,0 +93,0 @@ var separated = scope.split(separators[i]);

@@ -93,2 +93,6 @@ /**

if (scope) {
if (typeof scope !== 'string') {
return next(new TokenError('Invalid parameter: scope must be a string', 'invalid_request'));
}
for (var i = 0, len = separators.length; i < len; i++) {

@@ -95,0 +99,0 @@ var separated = scope.split(separators[i]);

@@ -88,2 +88,6 @@ /**

if (scope) {
if (typeof scope !== 'string') {
return next(new TokenError('Invalid parameter: scope must be a string', 'invalid_request'));
}
for (var i = 0, len = separators.length; i < len; i++) {

@@ -90,0 +94,0 @@ var separated = scope.split(separators[i]);

2

package.json
{
"name": "oauth2orize",
"version": "1.8.0",
"version": "1.8.1",
"description": "OAuth 2.0 authorization server toolkit for Node.js.",

@@ -5,0 +5,0 @@ "keywords": [

# OAuth2orize
[![Build](https://travis-ci.org/jaredhanson/oauth2orize.svg?branch=master)](https://travis-ci.org/jaredhanson/oauth2orize)
[![Coverage](https://coveralls.io/repos/jaredhanson/oauth2orize/badge.svg?branch=master)](https://coveralls.io/r/jaredhanson/oauth2orize)
[![Quality](https://codeclimate.com/github/jaredhanson/oauth2orize/badges/gpa.svg)](https://codeclimate.com/github/jaredhanson/oauth2orize)
[![Dependencies](https://david-dm.org/jaredhanson/oauth2orize.svg)](https://david-dm.org/jaredhanson/oauth2orize)
[![Tips](https://img.shields.io/gratipay/jaredhanson.svg)](https://gratipay.com/jaredhanson/)
[![Build](https://img.shields.io/travis/jaredhanson/oauth2orize.svg)](https://travis-ci.org/jaredhanson/oauth2orize)
[![Coverage](https://img.shields.io/coveralls/jaredhanson/oauth2orize.svg)](https://coveralls.io/r/jaredhanson/oauth2orize)
[![Quality](https://img.shields.io/codeclimate/github/jaredhanson/oauth2orize.svg?label=quality)](https://codeclimate.com/github/jaredhanson/oauth2orize)
[![Dependencies](https://img.shields.io/david/jaredhanson/oauth2orize.svg)](https://david-dm.org/jaredhanson/oauth2orize)
OAuth2orize is an authorization server toolkit for Node.js. It provides a suite

@@ -94,3 +92,3 @@ of middleware that, combined with [Passport](http://passportjs.org/)

if (!client) { return done(null, false); }
if (!client.redirectUri != redirectURI) { return done(null, false); }
if (client.redirectUri != redirectURI) { return done(null, false); }
return done(null, client, client.redirectURI);

@@ -97,0 +95,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc