Socket
Socket
Sign inDemoInstall

@node-oauth/oauth2-server

Package Overview
Dependencies
12
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.2 to 4.3.3

4

lib/handlers/authorize-handler.js

@@ -379,3 +379,3 @@ 'use strict';

AuthorizeHandler.prototype.getCodeChallenge = function(request) {
return request.body.code_challenge;
return request.body.code_challenge || request.query.code_challenge;
};

@@ -391,3 +391,3 @@

AuthorizeHandler.prototype.getCodeChallengeMethod = function(request) {
const algorithm = request.body.code_challenge_method;
const algorithm = request.body.code_challenge_method || request.query.code_challenge_method;

@@ -394,0 +394,0 @@ if (algorithm && !pkce.isValidMethod(algorithm)) {

{
"name": "@node-oauth/oauth2-server",
"description": "Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js",
"version": "4.3.2",
"version": "4.3.3",
"keywords": [

@@ -6,0 +6,0 @@ "oauth",

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