Skip to content

Commit

Permalink
Fix 'undefined' typo (should not be a string).
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Oct 25, 2023
1 parent d04ee35 commit 8c93156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openId.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8c93156

Please sign in to comment.