[KEYCLOAK-6584] removed not-before-policy parameter from authorization response

This commit is contained in:
wyvie 2018-02-26 12:09:15 +01:00 committed by Marek Posolda
parent 8cf65bc37d
commit 52acd959e0
2 changed files with 2 additions and 4 deletions

View file

@ -888,10 +888,10 @@
supportedParams = ['code', 'state', 'session_state'];
break;
case 'implicit':
supportedParams = ['access_token', 'token_type', 'id_token', 'state', 'session_state', 'expires_in', 'not-before-policy'];
supportedParams = ['access_token', 'token_type', 'id_token', 'state', 'session_state', 'expires_in'];
break;
case 'hybrid':
supportedParams = ['access_token', 'token_type', 'id_token', 'code', 'state', 'session_state', 'expires_in', 'not-before-policy'];
supportedParams = ['access_token', 'token_type', 'id_token', 'code', 'state', 'session_state', 'expires_in'];
break;
}

View file

@ -232,8 +232,6 @@ public class OIDCLoginProtocol implements LoginProtocol {
redirectUri.addParam("token_type", res.getTokenType());
redirectUri.addParam("expires_in", String.valueOf(res.getExpiresIn()));
}
redirectUri.addParam("not-before-policy", String.valueOf(res.getNotBeforePolicy()));
}
return redirectUri.build();