Allow DPoP header
This commit is contained in:
parent
3e75107c9c
commit
96ca17675f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func CreateRouter(o OpenIDProvider, interceptors ...HttpInterceptor) *mux.Router
|
|||
router := mux.NewRouter()
|
||||
router.Use(handlers.CORS(
|
||||
handlers.AllowCredentials(),
|
||||
handlers.AllowedHeaders([]string{"authorization", "content-type"}),
|
||||
handlers.AllowedHeaders([]string{"authorization", "content-type", "dpop"}),
|
||||
handlers.AllowedOriginValidator(allowAllOrigins),
|
||||
))
|
||||
router.HandleFunc(healthEndpoint, healthHandler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue