|
|
@ -1577,9 +1577,9 @@ def test_enable_token_exchange(admin: KeycloakAdmin, realm: str): |
|
|
|
}, |
|
|
|
client_id=realm_management_id, |
|
|
|
) |
|
|
|
permission_name = admin.get_client_authz_scope_permission(client_id=realm_management_id)[ |
|
|
|
"name" |
|
|
|
] |
|
|
|
permission_name = admin.get_client_authz_scope_permission( |
|
|
|
client_id=realm_management_id, scope_id=token_exchange_scope_id |
|
|
|
)["name"] |
|
|
|
assert permission_name == "test-permission" |
|
|
|
with pytest.raises(KeycloakPostError) as err: |
|
|
|
admin.create_client_authz_scope_permission( |
|
|
|