
celpy (celpy) asked a question.
How application can get refresh token expiration time?
How application can get refresh token expiration time?
Or if that is not possible how application can get a notification that refresh token will expire in say 1 day.
Thank you

Hi Ruslan,
Are your concerns that a token will expire on you? I believe they tokens last for 30 days if unused.
When the token is used it gets renewed for another 30 days. I've heard people get around this by using the API key in a scheduled GET request to renew the token.
Maybe this will work for you?
Do you mean the "refresh token" will expire in 30 days only if it was not used? Or it will expire independently of its usage?
In other words the question is: will application be logged out in 30 days if it is used day to day?
I see that refreshing an "access token" returns also "refresh token" but in my case it didn't change comparing with initial refresh token.
Also my main question was: how to get "refresh token" expiration time in the application? Hard-coding is not an option because application will work with different authorization servers which can have configured different refresh token expiration time.