Socket
Socket
Sign inDemoInstall

oauth2orize

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth2orize - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

5

lib/response/fragment.js
var url = require('url')
, qs = require('querystring');
, qs = require('querystring')
, AuthorizationError = require('../errors/authorizationerror');

@@ -18,3 +19,3 @@ /**

exports.validate = function(txn) {
if (!txn.redirectURI) { throw new Error('Unable to issue redirect for OAuth 2.0 transaction'); }
if (!txn.redirectURI) { throw new AuthorizationError('Unable to issue redirect for OAuth 2.0 transaction', 'invalid_request'); }
};

@@ -1,2 +0,3 @@

var url = require('url');
var url = require('url')
, AuthorizationError = require('../errors/authorizationerror');

@@ -19,3 +20,3 @@ /**

exports.validate = function(txn) {
if (!txn.redirectURI) { throw new Error('Unable to issue redirect for OAuth 2.0 transaction'); }
if (!txn.redirectURI) { throw new AuthorizationError('Unable to issue redirect for OAuth 2.0 transaction', 'invalid_request'); }
};

2

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

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