Skip to content

Commit 4be5fca

Browse files
authored
fix(oidc): incorrect default issuer url (#90)
1 parent a7d16a3 commit 4be5fca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

extension/spring-boot-starter-camunda-operate/src/main/resources/operate-profiles/oidc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ operate:
33
profile: oidc
44
enabled: true
55
base-url: http://localhost:8081
6-
auth-url: http://localhost:18080/auth/realms/camunda-platform/openid-connect/token
6+
auth-url: http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token
77
audience: operate-api
88

extension/spring-boot-starter-camunda-operate/src/test/java/io/camunda/operate/spring/OperateClientConfigurationPropertiesProfileOidcTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ void shouldApplyProfiles() throws MalformedURLException {
2727
assertThat(properties.enabled()).isEqualTo(true);
2828
assertThat(properties.authUrl())
2929
.isEqualTo(
30-
URI.create("http://localhost:18080/auth/realms/camunda-platform/openid-connect/token")
30+
URI.create(
31+
"http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token")
3132
.toURL());
3233
}
3334
}

0 commit comments

Comments
 (0)