A very small percentage of our users is getting a Unauthorized error with a new token. Looking at the logs, they complete the auth and come back via the callback. The token we receive in that callback is seconds old but it’s returining this error when attempting to get the user details (via https://api.twitch.tv/kraken/user):
{“error”:“Unauthorized”,“status”:401,“message”:“invalid oauth token”}
I thought it might be a race condition but we retry up to five times on failed user details attempts. Any ideas what is going on here?