From e1be7d415f8b4c305859513530d1c3de5a556d75 Mon Sep 17 00:00:00 2001 From: d036670 Date: Tue, 27 Aug 2024 13:26:49 +0200 Subject: [PATCH 1/2] Fix error in integration tests --- .../identity/uaa/integration/feature/CreateAccountIT.java | 2 +- .../identity/uaa/integration/feature/ResetPasswordIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/CreateAccountIT.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/CreateAccountIT.java index 4e63c95dfd7..cc2e8bd63a9 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/CreateAccountIT.java +++ b/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/CreateAccountIT.java @@ -183,7 +183,7 @@ private String startCreateUserFlow(String secret) { public void testEmailDomainRegisteredWithIDPDoesNotAllowAccountCreation() throws Exception { String adminToken = IntegrationTestUtils.getClientCredentialsToken(baseUrl, "admin", "adminsecret"); IdentityProvider oidcProvider = new IdentityProvider().setName("oidc_provider").setActive(true).setType(OriginKeys.OIDC10).setOriginKey(OriginKeys.OIDC10).setConfig(new OIDCIdentityProviderDefinition()); - oidcProvider.getConfig().setAuthUrl(new URL("http://example.com")); + oidcProvider.getConfig().setAuthUrl(new URL("https://example.com")); oidcProvider.getConfig().setShowLinkText(false); oidcProvider.getConfig().setTokenUrl(new URL("http://localhost:8080/uaa/idp_login")); oidcProvider.getConfig().setTokenKeyUrl(new URL("http://localhost:8080/uaa/idp_login")); diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/ResetPasswordIT.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/ResetPasswordIT.java index 12fbd547d5a..39e14bdf627 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/ResetPasswordIT.java +++ b/uaa/src/test/java/org/cloudfoundry/identity/uaa/integration/feature/ResetPasswordIT.java @@ -195,7 +195,7 @@ public void testNotAutoLoginAfterResetPassword() { webDriver.findElement(By.name("password")).sendKeys("new_password"); webDriver.findElement(By.xpath("//input[@value='Sign in']")).click(); - assertThat(webDriver.getCurrentUrl(), startsWith("http://example.redirect.com/?code=")); + assertThat(webDriver.getCurrentUrl(), startsWith("https://example.redirect.com/?code=")); } @Test From 28116ea0487c08d197ace10e2a8826e723f269d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:05:42 +0200 Subject: [PATCH 2/2] build(deps): bump org.passay:passay from 1.6.4 to 1.6.5 (#3018) Bumps [org.passay:passay](https://github.com/vt-middleware/passay) from 1.6.4 to 1.6.5. - [Release notes](https://github.com/vt-middleware/passay/releases) - [Changelog](https://github.com/vt-middleware/passay/blob/main/release) - [Commits](https://github.com/vt-middleware/passay/compare/v1.6.4...v1.6.5) --- updated-dependencies: - dependency-name: org.passay:passay dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index e26f6563dd8..408835c1f75 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -78,7 +78,7 @@ libraries.lombok = "org.projectlombok:lombok" libraries.mariaJdbcDriver = "org.mariadb.jdbc:mariadb-java-client" libraries.mockito = "org.mockito:mockito-core" libraries.mockitoJunit5 = "org.mockito:mockito-junit-jupiter" -libraries.passay = "org.passay:passay:1.6.4" +libraries.passay = "org.passay:passay:1.6.5" libraries.postgresql = "org.postgresql:postgresql:42.7.4" libraries.selenium = "org.seleniumhq.selenium:selenium-java:${versions.seleniumVersion}" libraries.seleniumHttp = "org.seleniumhq.selenium:selenium-http-jdk-client:4.13.0"