diff --git a/app/unit/OpenIDConnectUnit.js b/app/unit/OpenIDConnectUnit.js index 03d6f7d..382fe30 100644 --- a/app/unit/OpenIDConnectUnit.js +++ b/app/unit/OpenIDConnectUnit.js @@ -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) } }