pass through nonce
parent
6c3552ebfa
commit
4a15e51e12
|
@ -170,6 +170,8 @@ public class ConnectAuthCodeTokenGranter implements TokenGranter {
|
||||||
idToken.getClaims().setIssuer(configBean.getIssuer());
|
idToken.getClaims().setIssuer(configBean.getIssuer());
|
||||||
// TODO: expiration? other fields?
|
// TODO: expiration? other fields?
|
||||||
|
|
||||||
|
idToken.getClaims().setClaim("nonce", unconfirmedAuthorizationRequest.getParameters().get("nonce"));
|
||||||
|
|
||||||
//Sign
|
//Sign
|
||||||
|
|
||||||
//TODO: check client to see if they have a preferred alg, attempt to use that
|
//TODO: check client to see if they have a preferred alg, attempt to use that
|
||||||
|
|
Loading…
Reference in New Issue