Make /oidc/jwks support ANY http verb
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2024-04-12 23:26:02 -05:00
parent 3d6908b7ec
commit 775ac8b474

View File

@ -114,6 +114,11 @@ class OpenIDConnectUnit extends Unit {
}
}
// Stupid /jwks only listens on GET which is incompatible w/ some apps
if ( req.url === '/jwks' ) {
req.method = 'GET'
}
return callback(req, res, next)
}
}