changed response-type to code rather than token

pull/166/merge
Mike Derryberry 2012-08-08 15:27:47 -04:00 committed by Justin Richer
parent f8d938630e
commit 8e95734f22
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class OIDCSignedRequestFilter extends AbstractOIDCAuthenticationFilter {
// header.setAlgorithm(JwsAlgorithm.getByName(SIGNING_ALGORITHM).toString());
//set parameters to JwtClaims
claims.setClaim("response_type", "token");
claims.setClaim("response_type", "code");
claims.setClaim("client_id", serverConfiguration.getClientId());
claims.setClaim("scope", scope);
claims.setClaim("redirect_uri", AbstractOIDCAuthenticationFilter.buildRedirectURI(request, null));