mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-28 04:13:22 -04:00
Make sure refresh expiration is set together with setting the previous refresh token
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
This commit is contained in:
parent
4774d68d4f
commit
9eb0a3a326
1 changed files with 0 additions and 2 deletions
|
|
@ -297,8 +297,6 @@ public abstract class AbstractOAuth2IdentityProvider<C extends OAuth2IdentityPro
|
|||
|
||||
if (newResponse.getRefreshToken() == null && previousResponse.getRefreshToken() != null) {
|
||||
newResponse.setRefreshToken(previousResponse.getRefreshToken());
|
||||
}
|
||||
if (newResponse.getRefreshExpiresIn() == null && previousResponse.getRefreshExpiresIn() != null) {
|
||||
newResponse.setRefreshExpiresIn(previousResponse.getRefreshExpiresIn());
|
||||
}
|
||||
if (newResponse.getIdToken() == null && previousResponse.getIdToken() != null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue