claimsSet.setExpirationTime(new Date(20000l));
claimsSet.setClaim("nonce", "123");
SignedJWT idToken = new SignedJWT(new JWSHeader(JWSAlgorithm.HS256), claimsSet);
idToken.sign(new MACSigner("1234567890abcdef"));
AuthenticationSuccessResponse response = new AuthenticationSuccessResponse(
REDIRECT_URI, null, idToken, null, new State("abc"));
assertEquals(REDIRECT_URI, response.getRedirectionURI());