OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

Get refresh token expiry date

Open vinczebalazs opened this issue 5 years ago • 1 comments

Hi!

Is it possible to retrieve the expiry date of the refresh token? My issue is that, I would like to avoid trying to get an access token using my refresh token (so go straight to the login screen), if I know for sure that the refresh token is expired anyway.

Thanks

vinczebalazs avatar Sep 16 '20 08:09 vinczebalazs

Some servers use the non-standard refresh_token_expires_in field in the response for that; even though it's non standard maybe we can add support for it.

ossus-lib avatar Feb 21 '24 10:02 ossus-lib