Unfortunately this is known problem happening very likely since iO 16.
JSONDecoder has no idea about the validity of tokens and will decode them just fine.
Also they seem to work for shielding even after system activity picker gives you new tokens. However if you rely on some logic to compare tokens then that no longer works.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: