Add Content Type to print jwt;
@@ -84,7 +84,9 @@ func printToken(c *RequestContext, w http.ResponseWriter) (int, error) {
return http.StatusInternalServerError, err
}
+
// Writes the token.
+ w.Header().Set("Content-Type", "cty")
w.Write([]byte(string))
return 0, nil
}
