X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e04c307f011f5ce3b42dff062e1394256f604037..1d460a17caf94ddc33610b39a0a11aec1d3905a2:/lib/controller/federation.go diff --git a/lib/controller/federation.go b/lib/controller/federation.go index cab5e4c4ca..419d8b0104 100644 --- a/lib/controller/federation.go +++ b/lib/controller/federation.go @@ -263,10 +263,10 @@ func (h *Handler) saltAuthToken(req *http.Request, remote string) (updatedReq *h return updatedReq, nil } - ctxlog.FromContext(req.Context()).Infof("saltAuthToken: cluster %s token %s remote %s", h.Cluster.ClusterID, creds.Tokens[0], remote) + ctxlog.FromContext(req.Context()).Debugf("saltAuthToken: cluster %s token %s remote %s", h.Cluster.ClusterID, creds.Tokens[0], remote) token, err := auth.SaltToken(creds.Tokens[0], remote) - if err == auth.ErrObsoleteToken { + if err == auth.ErrObsoleteToken || err == auth.ErrTokenFormat { // If the token exists in our own database for our own // user, salt it for the remote. Otherwise, assume it // was issued by the remote, and pass it through