Browse Source

changed nonce claim addition

pull/166/merge
Mike Derryberry 12 years ago committed by Justin Richer
parent
commit
eff7a2c504
  1. 3
      openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java

3
openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java

@ -15,7 +15,6 @@ import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.mitre.jwt.model.Jwt;
import org.mitre.jwt.model.JwtClaims;
import org.mitre.jwt.model.JwtHeader;
import org.mitre.jwt.signer.service.JwtSigningAndValidationService;
import org.mitre.openid.connect.config.OIDCServerConfiguration;
import org.springframework.security.core.Authentication;
@ -119,7 +118,7 @@ public class OIDCSignedRequestFilter extends AbstractOIDCAuthenticationFilter {
response.addCookie(nonceCookie);
claims.setClaim("nonce", response);
claims.setClaim("nonce", nonceCookie);
try {
signingAndValidationService.signJwt(jwt);

Loading…
Cancel
Save