From d6b0b877693ac3cfd4aed739d81e71673688d96b Mon Sep 17 00:00:00 2001 From: Mike Derryberry Date: Tue, 31 Jul 2012 14:06:16 -0400 Subject: [PATCH] added state parameter to reqeuest object --- .../org/mitre/openid/connect/client/OIDCSignedRequestFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java b/openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java index 2e294dce7..ee503a59f 100644 --- a/openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java +++ b/openid-connect-client/src/main/java/org/mitre/openid/connect/client/OIDCSignedRequestFilter.java @@ -112,6 +112,7 @@ public class OIDCSignedRequestFilter extends AbstractOIDCAuthenticationFilter { claims.setClaim("scope", scope); claims.setClaim("redirect_uri", AbstractOIDCAuthenticationFilter.buildRedirectURI(request, null)); claims.setClaim("nonce", NONCE_SIGNATURE_COOKIE_NAME); + claims.setClaim("state", "af0ifjsldkj"); if(header.getAlgorithm().equals("RS256") || header.getAlgorithm().equals("RS384") || header.getAlgorithm().equals("RS512")) { RsaSigner jwtSigner = new RsaSigner();