diff --git a/server/handlers.go b/server/handlers.go index 1e02998d6005a0cd1b89294cbb3686bd27b66e41..acbd19bf35751274e4bf4fb13c92284240fd5f68 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -386,7 +386,7 @@ func (s *Server) handleConnectorCallback(w http.ResponseWriter, r *http.Request) if err != nil { s.logger.Errorf("Failed to authenticate: %v", err) - s.renderError(w, http.StatusInternalServerError, "Failed to return user's identity.") + s.renderError(w, http.StatusInternalServerError, fmt.Sprintf("Failed to authenticate: %v", err)) return }