diff --git a/command/agent/http.go b/command/agent/http.go index 01caac0cd..63d32100a 100644 --- a/command/agent/http.go +++ b/command/agent/http.go @@ -41,9 +41,10 @@ var ( // allowCORS sets permissive CORS headers for a handler allowCORS = cors.New(cors.Options{ - AllowedOrigins: []string{"*"}, - AllowedMethods: []string{"HEAD", "GET"}, - AllowedHeaders: []string{"*"}, + AllowedOrigins: []string{"*"}, + AllowedMethods: []string{"HEAD", "GET"}, + AllowedHeaders: []string{"*"}, + AllowCredentials: true, }) )