Skip to content

Commit 6ed9f52

Browse files
gamersonbrianchandotcom
authored andcommitted
LPS-179319 springboot known issue, don't use application.properties in modules spring-projects/spring-boot#24688
1 parent 9e15005 commit 6ed9f52

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

modules/util/client-extension-util-spring-boot/src/main/java/com/liferay/client/extension/util/spring/boot/LiferayOAuth2ClientConfiguration.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,7 @@ private ClientRegistration[] _getClientRegistrations() {
146146
".oauth2.headless.server.client.secret");
147147

148148
if (clientSecret == null) {
149-
throw new IllegalArgumentException(
150-
"Property \"" + externalReferenceCode +
151-
".oauth2.headless.server.client.secret\" is not " +
152-
"defined");
149+
continue;
153150
}
154151

155152
String tokenURI = _environment.getProperty(

modules/util/client-extension-util-spring-boot/src/main/resources/application-default.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

modules/util/client-extension-util-spring-boot/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)