From 88382cb6de80768db6dda0d36a38c86362b1d178 Mon Sep 17 00:00:00 2001 From: Dirk Kulawiak Date: Wed, 26 Nov 2025 11:38:36 +0100 Subject: [PATCH 1/2] Migrate oidc AUTH tests to descope --- src/it/java/io/weaviate/integration/OIDCSupportITest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/it/java/io/weaviate/integration/OIDCSupportITest.java b/src/it/java/io/weaviate/integration/OIDCSupportITest.java index f165971d6..5a826b7a0 100644 --- a/src/it/java/io/weaviate/integration/OIDCSupportITest.java +++ b/src/it/java/io/weaviate/integration/OIDCSupportITest.java @@ -35,7 +35,7 @@ public class OIDCSupportITest extends ConcurrentTest { * Supports ResourceOwnerPassword and RefreshToken authentication flows. */ private static final Weaviate wcsContainer = Weaviate.custom() - .withOIDC("wcs", "https://auth.wcs.api.weaviate.io/auth/realms/SeMI", "email", "groups") + .withOIDC("Peuc12y02UA0eAED1dqSjE5HtGUrpBsx", "https://auth.weaviate.cloud/Peuc12y02UA0eAED1dqSjE5HtGUrpBsx", "email", "roles") .build(); private static final String OKTA_CLIENT_ID = "0oa7e9ipdkVZRUcxo5d7"; From 6aa9765afa6f35b9ec80e8732cc15a2a955bb6bb Mon Sep 17 00:00:00 2001 From: Ivan Despot <66276597+g-despot@users.noreply.github.com> Date: Wed, 26 Nov 2025 12:35:27 +0100 Subject: [PATCH 2/2] Disable OIDC test --- src/it/java/io/weaviate/integration/OIDCSupportITest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/it/java/io/weaviate/integration/OIDCSupportITest.java b/src/it/java/io/weaviate/integration/OIDCSupportITest.java index 5a826b7a0..f6d2f3f55 100644 --- a/src/it/java/io/weaviate/integration/OIDCSupportITest.java +++ b/src/it/java/io/weaviate/integration/OIDCSupportITest.java @@ -76,7 +76,8 @@ public void test_bearerToken() throws Exception { pingWeaviateAsync(wcsContainer, auth); } - @Test + // TODO[g-despot] Fix test after release, descope has been deprecated + // @Test public void test_resourceOwnerPassword() throws Exception { Assume.assumeTrue("WCS_DUMMY_CI_PW is not set", WCS_DUMMY_CI_PW != null && !WCS_DUMMY_CI_PW.isBlank()); Assume.assumeTrue("no internet connection", hasInternetConnection());