Make /oidc/jwks support ANY http verb
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user