diff --git a/src/authx/auth.py b/src/authx/auth.py index accf1a8..93a478f 100644 --- a/src/authx/auth.py +++ b/src/authx/auth.py @@ -729,10 +729,11 @@ def remove_user_from_opa(user_name): def add_pending_user_to_opa(user_token): # NB: any user that has been authenticated by the IDP should be able to add themselves to the pending user list + logger.debug("hello") response, status_code = get_service_store_secret("opa", key=f"pending_users") if status_code != 200: return response, status_code - + logger.debug("hi again") user_name = get_user_id(None, token=user_token) if user_name is None: return {"error": "Could not verify jwt or obtain user ID"}, 403