diff --git a/webviz_config/_deployment/radix_cli.py b/webviz_config/_deployment/radix_cli.py index ac50585d..2a00451a 100644 --- a/webviz_config/_deployment/radix_cli.py +++ b/webviz_config/_deployment/radix_cli.py @@ -1,4 +1,3 @@ -import json import time import shutil import pathlib @@ -36,13 +35,7 @@ def logged_in() -> bool: _trigger_token_aquisition(update_only=True) config = pathlib.Path.home() / ".radix" / "config" - - if config.is_file(): - token_expiry_time = json.loads(config.read_text())["sessionConfig"]["expiresOn"] - if token_expiry_time > time.time(): - return True - - return False + return config.is_file() def log_in() -> None: