diff --git a/jans-cedarling/bindings/cedarling_python/tests/test_authorize.py b/jans-cedarling/bindings/cedarling_python/tests/test_authorize.py index e1915ae8bf8..b1e8971f1ce 100644 --- a/jans-cedarling/bindings/cedarling_python/tests/test_authorize.py +++ b/jans-cedarling/bindings/cedarling_python/tests/test_authorize.py @@ -187,7 +187,7 @@ def test_resource_entity_error(): try: raise_authorize_error(load_bootstrap_config()) except authorize_errors.BuildEntitiesError as e: - assert str(e) == "failed to build resource entity: type mismatch for key 'org_id'. expected: 'string', but found: 'number'" + assert str(e) == "failed to build resource entity: failed to build `org_id` attribute: failed to build restricted expression: type mismatch for key 'org_id'. expected: 'string', but found: 'number'" def test_authorize_error(): @@ -199,4 +199,4 @@ def test_authorize_error(): try: raise_authorize_error(load_bootstrap_config()) except authorize_errors.AuthorizeError as e: - assert str(e) == "failed to build resource entity: type mismatch for key 'org_id'. expected: 'string', but found: 'number'" + assert str(e) == "failed to build resource entity: failed to build `org_id` attribute: failed to build restricted expression: type mismatch for key 'org_id'. expected: 'string', but found: 'number'" diff --git a/jans-cedarling/cedarling/src/authz/entity_builder/build_attrs.rs b/jans-cedarling/cedarling/src/authz/entity_builder/build_attrs.rs index b1ca60276bb..e56471cdbb8 100644 --- a/jans-cedarling/cedarling/src/authz/entity_builder/build_attrs.rs +++ b/jans-cedarling/cedarling/src/authz/entity_builder/build_attrs.rs @@ -125,7 +125,7 @@ fn apply_claim_aliases(claims: &mut HashMap, aliases: Vec