From 8c9315695255fa222e9a7c009f71f1da9372348f Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Wed, 25 Oct 2023 12:18:52 -0400 Subject: [PATCH] Fix `'undefined'` typo (should not be a string). --- lib/openId.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openId.js b/lib/openId.js index c68d679..7dc2c70 100644 --- a/lib/openId.js +++ b/lib/openId.js @@ -621,7 +621,7 @@ async function _getAuthorizationRequest({req}) { } if(client_id_scheme) { authorizationRequest.client_id_scheme = client_id_scheme; - } else if(authorizationRequest.client_id_scheme === 'undefined') { + } else if(authorizationRequest.client_id_scheme === undefined) { authorizationRequest.client_id_scheme = 'redirect_uri'; } if(client_metadata) {