Seeing as how we need to handle refresh tokens now, I would like to be able to distinguish when an access token has expired vs. been revoked based on the API response after attempting to present the token.
I would expect to see a different 401 error response when attempting to use the access token but the API documentation doesn’t list any details relevant to this (that I can find.) And there’s no dev tool for generating already-expired access tokens that I’m aware of (which would be useful for testing/test-automation please, but that’s beside the point).
It’s relevant because if I have to treat the responses for expired vs. revoked as the same, then I will be always making an extra API request for a revoked access token, trying to refresh it first but then getting a refresh-request-error. If I could see “expired” for one of them then I could bypass the refresh attempt in the other.