diff --git a/Source/IBMCloudAppID/internal/TokenManager.swift b/Source/IBMCloudAppID/internal/TokenManager.swift index 320e0cf..1c61b0d 100644 --- a/Source/IBMCloudAppID/internal/TokenManager.swift +++ b/Source/IBMCloudAppID/internal/TokenManager.swift @@ -175,6 +175,7 @@ internal class TokenManager { self.validateToken(token: identityToken, tokenResponseDelegate: tokenResponseDelegate) { self.latestAccessToken = accessToken self.latestIdentityToken = identityToken + self.latestRefreshToken = nil if let refreshTokenString = responseJson["refresh_token"] as? String { self.latestRefreshToken = RefreshTokenImpl(with: refreshTokenString) }