You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user logged in with an app using the old Cidaas SDK and then update to a version with the new Cidaas SDK, it will crash.
The problem is the function accessTokenModelToAccessTokenEntity:
One line was was changed from:
AccessTokenModel.shared.refresh_token = accessTokenEntity.refresh_token
to:
AccessTokenModel.shared.refresh_token = try! accessTokenEntity.refresh_token.aesEncrypt(key: key, iv: salt)
There is no fallback for old user data without encryption, and there is no error handling either. It just crashes.
The same seems to be true for access_token
The text was updated successfully, but these errors were encountered:
If a user logged in with an app using the old Cidaas SDK and then update to a version with the new Cidaas SDK, it will crash.
The problem is the function accessTokenModelToAccessTokenEntity:
One line was was changed from:
AccessTokenModel.shared.refresh_token = accessTokenEntity.refresh_token
to:
AccessTokenModel.shared.refresh_token = try! accessTokenEntity.refresh_token.aesEncrypt(key: key, iv: salt)
There is no fallback for old user data without encryption, and there is no error handling either. It just crashes.
The same seems to be true for access_token
The text was updated successfully, but these errors were encountered: