Set the correct realm when setting up client exchange permissions

Closes #32465

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
This commit is contained in:
Stefan Guilhen 2024-08-28 14:09:09 -03:00 committed by Alexander Schwartz
parent 529ae9d40a
commit a41b622aa5

View file

@ -617,7 +617,7 @@ public class SocialLoginTest extends AbstractKeycloakTest {
Client httpClient = AdminClientUtil.createResteasyClient();
Response response = null;
try {
testingClient.server().run(SocialLoginTest::setupClientExchangePermissions);
testingClient.server(REALM).run(SocialLoginTest::setupClientExchangePermissions);
WebTarget exchangeUrl = getExchangeUrl(httpClient);
response = exchangeUrl.request()