diff --git a/connector/oidc/oidc.go b/connector/oidc/oidc.go index 0abc0bc4..df849093 100644 --- a/connector/oidc/oidc.go +++ b/connector/oidc/oidc.go @@ -216,7 +216,7 @@ func (c *oidcConnector) Refresh(ctx context.Context, s connector.Scopes, identit } token, err := c.oauth2Config.TokenSource(ctx, t).Token() if err != nil { - return identity, fmt.Errorf("oidc: failed to get token: %v", err) + return identity, fmt.Errorf("oidc: failed to get refresh token: %v", err) } return c.createIdentity(ctx, identity, token)