I’m looking for how to find the age or time left on a token.
I can call
https://api.miro.com/v1/oauth-token with the
access_token in the header as a Bearer token. Works great, tells me it’s "
type" : "oAuthToken" and other info, but it doesn’t tell me how long I might have left on it.
I’d also like to know whether a given token is a refresh token, but when I use the same pattern as above with the refresh_token in the header as a Bearer token, it doesn’t work. I get that it shouldn’t because refresh!=access, but is there any way to get more info about a refresh token?
The other option is to always refresh and not care how much time is left, but that feels excessive.
While you’re here, can anyone tell me the difference between the