[KEYCLOAK-6584] removed not-before-policy parameter from authorization response
This commit is contained in:
parent
8cf65bc37d
commit
52acd959e0
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue