expires_in is actually a relative value (https://tools.ietf.org/html/rfc6749#section-5.1) but as far as I can see it's treated as an absolute value. Which would explain why I can't get it to return the cached token :)
That's a very nice catch. I'll look into it tomorrow morning
That's a very nice catch. I'll look into it tomorrow morning