mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-23 04:58:18 +02:00
authenticate: add CORS headers to jwks endpoint
This commit is contained in:
parent
e9e52d8225
commit
63191f68e5
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func (a *Authenticate) mountDashboard(r *mux.Router) {
|
|||
}
|
||||
|
||||
func (a *Authenticate) mountWellKnown(r *mux.Router) {
|
||||
r.Path("/.well-known/pomerium/jwks.json").Handler(httputil.HandlerFunc(a.jwks)).Methods(http.MethodGet)
|
||||
r.Path("/.well-known/pomerium/jwks.json").Handler(cors.AllowAll().Handler(httputil.HandlerFunc(a.jwks))).Methods(http.MethodGet)
|
||||
}
|
||||
|
||||
// jwks returns the signing key(s) the client can use to validate signatures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue