Changed client algorithm check to look for null instead of JWSAlgorithm.NONE, which is a valid value.
parent
0059c7b4cc
commit
3eae6f2789
|
@ -91,7 +91,7 @@ public class ConnectTokenEnhancer implements TokenEnhancer {
|
|||
|
||||
JWSAlgorithm signingAlg;
|
||||
JWSAlgorithm clientAlg = client.getIdTokenSignedResponseAlg().getAlgorithm();
|
||||
if (clientAlg != JWSAlgorithm.NONE) {
|
||||
if (clientAlg != null) {
|
||||
signingAlg = clientAlg;
|
||||
} else {
|
||||
signingAlg = jwtService.getDefaultSigningAlgorithm();
|
||||
|
|
Loading…
Reference in New Issue