diff --git a/api4/oauth.go b/api4/oauth.go index 7d1fa962fd..e0d79d2f5a 100644 --- a/api4/oauth.go +++ b/api4/oauth.go @@ -538,6 +538,7 @@ func completeOAuth(c *Context, w http.ResponseWriter, r *http.Request) { return } + w.Header().Set("Content-Type", "text/html; charset=utf-8") http.Redirect(w, r, redirectUrl, http.StatusTemporaryRedirect) }