Compare commits
No commits in common. "830974671af0b963efc84441b6a3d9873fa52af9" and "7cefca5d5f239fb32030ab1d4eb72fa774e42d48" have entirely different histories.
830974671a
...
7cefca5d5f
|
@ -1,8 +1,7 @@
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
||||||
|
|
||||||
# Changelog for "oidc-keycloak-library"
|
# Changelog for "oidc-keycloak-library"
|
||||||
|
|
||||||
## [v1.0.1-SNAPSHOT]
|
|
||||||
|
|
||||||
## [v1.0.0]
|
## [v1.0.0]
|
||||||
- First release (#19143, #19891)
|
- First release (#19143, #19891)
|
||||||
|
|
||||||
|
|
||||||
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
2
pom.xml
2
pom.xml
|
@ -11,7 +11,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>oidc-keycloak-library</artifactId>
|
<artifactId>oidc-keycloak-library</artifactId>
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
<version>1.0.0</version>
|
||||||
<properties>
|
<properties>
|
||||||
<keycloak-version>10.0.2</keycloak-version>
|
<keycloak-version>10.0.2</keycloak-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -144,7 +144,6 @@ public class KeycloakHelper {
|
||||||
newClientRepresentation.setPublicClient(false);
|
newClientRepresentation.setPublicClient(false);
|
||||||
newClientRepresentation.setProtocol("openid-connect");
|
newClientRepresentation.setProtocol("openid-connect");
|
||||||
newClientRepresentation.setAuthorizationSettings(new ResourceServerRepresentation());
|
newClientRepresentation.setAuthorizationSettings(new ResourceServerRepresentation());
|
||||||
newClientRepresentation.setFullScopeAllowed(Boolean.FALSE);
|
|
||||||
try (Response response = realm.clients().create(newClientRepresentation)) {
|
try (Response response = realm.clients().create(newClientRepresentation)) {
|
||||||
if (!response.getStatusInfo().equals(Response.Status.CREATED)) {
|
if (!response.getStatusInfo().equals(Response.Status.CREATED)) {
|
||||||
throw new KeycloakResourceCreationException("While creating new client: " + clientId, response);
|
throw new KeycloakResourceCreationException("While creating new client: " + clientId, response);
|
||||||
|
|
Loading…
Reference in New Issue