From 7613fec52c60fb0408d1c7b14acb6b6f3139f113 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Wed, 10 Jun 2026 11:40:43 +0200 Subject: [PATCH] auth: printing base_url for debugging --- src/aare/gui/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aare/gui/auth.py b/src/aare/gui/auth.py index 374a4ff9..8beb2e7c 100644 --- a/src/aare/gui/auth.py +++ b/src/aare/gui/auth.py @@ -11,6 +11,7 @@ logger = setup_logger('aareGUI') CACERT = "/sls/x10sa/misc/.cert/10s.crt" def auth(base_url: str | None) -> str: + print(f"base_url: {base_url}") curr_user = get_user() if base_url is None: token_data = TokenData(sub=curr_user, @@ -22,6 +23,7 @@ def auth(base_url: str | None) -> str: # Single call: Kerberos SPNEGO through Apache, which proxies to the DAQ server. # Apache injects X-Remote-User; the DAQ server reads it from the localhost-proxied request. url = f"{base_url}/token" + # url = f"{base_url}" try: token_result = subprocess.run( ['curl', '-s', '--cacert', CACERT,