Compare commits
2 Commits
7cefca5d5f
...
830974671a
Author | SHA1 | Date |
---|---|---|
Mauro Mugnaini | 830974671a | |
Mauro Mugnaini | 6f20e3a1f7 |
|
@ -1,7 +1,8 @@
|
|||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
# Changelog for "oidc-keycloak-library"
|
||||
|
||||
## [v1.0.1-SNAPSHOT]
|
||||
|
||||
## [v1.0.0]
|
||||
- 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>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>oidc-keycloak-library</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1-SNAPSHOT</version>
|
||||
<properties>
|
||||
<keycloak-version>10.0.2</keycloak-version>
|
||||
</properties>
|
||||
|
|
|
@ -144,6 +144,7 @@ public class KeycloakHelper {
|
|||
newClientRepresentation.setPublicClient(false);
|
||||
newClientRepresentation.setProtocol("openid-connect");
|
||||
newClientRepresentation.setAuthorizationSettings(new ResourceServerRepresentation());
|
||||
newClientRepresentation.setFullScopeAllowed(Boolean.FALSE);
|
||||
try (Response response = realm.clients().create(newClientRepresentation)) {
|
||||
if (!response.getStatusInfo().equals(Response.Status.CREATED)) {
|
||||
throw new KeycloakResourceCreationException("While creating new client: " + clientId, response);
|
||||
|
|
Loading…
Reference in New Issue