Commit ffefcfd7 authored by Gurvinder Singh's avatar Gurvinder Singh
Browse files

set content type to json, as API server complains about it otherwise

parent 6b5eeda7
......@@ -48,6 +48,7 @@ func getJWKS() *JWKS {
func (jwks *JWKS) jwksHandler() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
encoder := json.NewEncoder(w)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment