diff --git a/flytekit/clients/auth/authenticator.py b/flytekit/clients/auth/authenticator.py index d5454ea8a3..dc50f209ba 100644 --- a/flytekit/clients/auth/authenticator.py +++ b/flytekit/clients/auth/authenticator.py @@ -308,8 +308,6 @@ def refresh_credentials(self): text = f"To Authenticate, navigate in a browser to the following URL: {click.style(full_uri, fg='blue', underline=True)}" click.secho(text) try: - # Currently the refresh token is not retrieved. We may want to add support for refreshTokens so that - # access tokens can be refreshed for once authenticated machines token, refresh_token, expires_in = token_client.poll_token_endpoint( resp, self._token_endpoint,