In our application, we store user information (Username, Password, accessToken, Refresh token, etc.) in the keychain. However, after performing a hard reboot (unplugging and plugging back in), when we attempt to retrieve the ‘refresh token’ or ‘access token’ from the keychain, we receive the old token instead of the newly saved one.
We created the test application mentioned above, however the issue still exists there as well.
Yeah, that’s what I was expected.
Please file a bug about this, making sure to include your test app and a sysdiagnose log taken immediately after reproducing the problem [1]. Once you’re done, post your bug number here, because I want to forward it along to the keychain engineer I was discussing this issue with.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Sysdiagnose logs are fun on Apple TV. See Bug Reporting > Profiles and Logs for instructions.