pass through nonce

pull/59/head
Justin Richer 2012-03-23 10:52:04 -04:00
parent 6c3552ebfa
commit 4a15e51e12
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@ public class ConnectAuthCodeTokenGranter implements TokenGranter {
idToken.getClaims().setIssuer(configBean.getIssuer());
// TODO: expiration? other fields?
idToken.getClaims().setClaim("nonce", unconfirmedAuthorizationRequest.getParameters().get("nonce"));
//Sign
//TODO: check client to see if they have a preferred alg, attempt to use that