diff --git a/services-src/auth/main.go b/services-src/auth/main.go index 3c7ef08..756e91d 100644 --- a/services-src/auth/main.go +++ b/services-src/auth/main.go @@ -348,7 +348,7 @@ func Main(information library.ServiceInitializationInformation) *chi.Mux { disableCors := func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Access-Control-Allow-Origin", "*") - w.Header().Set("Access-Control-Allow-Headers", "*") + w.Header().Set("Access-Control-Allow-Headers", "authorization, content-type") w.Header().Set("Access-Control-Allow-Methods", "*") next.ServeHTTP(w, r) })