File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/net/netshot/netshot/aaa Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,6 @@ public static synchronized void loadConfig() {
167
167
168
168
OIDCClientMetadata clientMetadata = new OIDCClientMetadata ();
169
169
clientMetadata .applyDefaults ();
170
- Oidc .clientInfo = new OIDCClientInformation (
171
- new ClientID (clientId ), null , clientMetadata , new Secret (clientSecret ));
172
170
if (endpoint == null ) {
173
171
Oidc .idpMetadata = null ;
174
172
}
@@ -181,6 +179,8 @@ else if (clientSecret == null) {
181
179
Oidc .idpMetadata = null ;
182
180
}
183
181
else {
182
+ Oidc .clientInfo = new OIDCClientInformation (
183
+ new ClientID (clientId ), null , clientMetadata , new Secret (clientSecret ));
184
184
if (Oidc .idpDiscoveryThread != null ) {
185
185
if (!Oidc .idpDiscoveryThread .endpoint .equals (endpoint )) {
186
186
log .info ("OIDC IdP endpoint configuration has changed, stopping the discovery thread" );
You can’t perform that action at this time.
0 commit comments