diff --git a/src/authx/auth.py b/src/authx/auth.py index 20252c0..5122d6a 100644 --- a/src/authx/auth.py +++ b/src/authx/auth.py @@ -680,6 +680,7 @@ def list_role_types_in_opa(): def get_role_type_in_opa(role_type): result, status_code = get_service_store_secret("opa", key=f"site_roles") if status_code == 200: + logger.debug(result["site_roles"]) if role_type in result['site_roles']: return {role_type: result['site_roles'][role_type]}, 200 return {"error": f"role type {role_type} does not exist"}, 404