How long the refresh token is valid for

Can someone give some information on how long the refresh token is valid for?
The doc says we should use the refresh token once in 24 hours to get a valid access token, but I see in some cases I get an invalid_grant for some refresh tokens.
If this is due to the refresh token expiry, can we get a new refresh token without a re-login?
Answered by in 618472022
The refresh token does not have a time-based expiry but certain events on the Apple ID account (e.g., password change) will invalidate the refresh token.

A new refresh token cannot be obtained without a re-login.
The refresh token does not have a time-based expiry but certain events on the Apple ID account (e.g., password change) will invalidate the refresh token.

A new refresh token cannot be obtained without a re-login.
Thanks a lot. Is there a page or so that's lists the scenarios that invalidated the refresh token?
how can I get refresh token which does not expire on password change? are refresh tokens with "offline" scope/access type supported? is there any documentation available for same?
How long the refresh token is valid for
 
 
Q