fix(CORS): add X-Requested-With to Access-Control-Request-Headers (#5009)

allows clients with `X-Requested-With` header to succeed with their CORS request
This commit is contained in:
Livio Spring
2023-01-09 13:37:10 +01:00
committed by GitHub
parent 5651f98600
commit 0a30e39b46
4 changed files with 33 additions and 22 deletions

View File

@@ -20,6 +20,7 @@ var (
http_utils.ZitadelOrgID,
http_utils.XUserAgent,
http_utils.XGrpcWeb,
http_utils.XRequestedWith,
},
AllowedMethods: []string{
http.MethodOptions,