Skip to content

Commit 66edb53

Browse files
committed
Feature: supporting groups scope
Signed-off-by: Kleber Rocha <[email protected]>
1 parent e5f51b7 commit 66edb53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/resources-generated/plugin.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
id=cd.go.authorization.keycloak
1818
name=Keycloak oauth authorization plugin
19-
version=2.0.0-17
19+
version=2.0.0-19
2020
goCdVersion=19.2.0
2121
description=Keycloak oauth authorization plugin for GoCD
2222
vendorName=klinux

src/main/resources-generated/plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<go-plugin id="cd.go.authorization.keycloak" version="1">
1818
<about>
1919
<name>Keycloak oauth authorization plugin</name>
20-
<version>2.0.0-17</version>
20+
<version>2.0.0-19</version>
2121
<target-go-version>19.2.0</target-go-version>
2222
<description>Keycloak oauth authorization plugin for GoCD</description>
2323
<vendor>

src/test/java/cd/go/authorization/keycloak/KeycloakApiClientTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void tearDown() throws Exception {
7373
public void shouldReturnAuthorizationServerUrl() throws Exception {
7474
final String authorizationServerUrl = KeycloakApiClient.authorizationServerUrl("call-back-url");
7575

76-
assertThat(authorizationServerUrl, startsWith("https://example.com/auth/realms/master/protocol/openid-connect/auth?client_id=client-id&redirect_uri=call-back-url&response_type=code&scope=openid%20profile%20email%20roles&state="));
76+
assertThat(authorizationServerUrl, startsWith("https://example.com/auth/realms/master/protocol/openid-connect/auth?client_id=client-id&redirect_uri=call-back-url&response_type=code&scope=openid%20profile%20email%20groups%20roles&state="));
7777
}
7878

7979
@Test

0 commit comments

Comments
 (0)