Skip to content

Commit 3f5e2ac

Browse files
committed
if no alg is explicitly set, use the default from the signer
1 parent a59fe06 commit 3f5e2ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCAuthenticationFilter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ protected ClientHttpRequest createRequest(URI url, HttpMethod method) throws IOE
342342

343343
// needs to be wired in to the bean
344344
signer = authenticationSignerService;
345+
346+
if (alg == null) {
347+
alg = authenticationSignerService.getDefaultSigningAlgorithm();
348+
}
345349
}
346350

347351
if (signer == null) {

0 commit comments

Comments
 (0)