In our utility, we retailer consumer info (Username, Password, AccessToken, Refresh token, and so forth.) within the keychain. Nevertheless, after performing a tough reboot (unplugging and plugging again in), after we try to retrieve the ‘refresh token’ or ‘entry token’ from the keychain, we obtain the outdated token as a substitute of the newly saved one.
State of affairs:
Person logged in and obtained a token N.
We put it aside in keychain (Save N).
We fetch it from keychain simply to confirm if it was saved – (we get N)
Reboot the Apple TV and the refresh name is being made with token N – 1 (beforehand saved token within the keychain).
I anticipated to retrieve the newest ‘refresh token’ or ‘entry token’ from the keychain after a tough reboot.