Make /oidc/jwks support ANY http verb
continuous-integration/drone/push Build is passing Details

master
Garrett Mills 1 month ago
parent 3d6908b7ec
commit 775ac8b474

@ -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) return callback(req, res, next)
} }
} }

Loading…
Cancel
Save