How to check if refresh token is expired in mobile app?

I need to know the time remaining in the Refresh Token expiration (absolute lifetime of a refresh_token) for a user in mobile app.
As login is giving me refresh token but not refresh token expiration time. Need to show login page if refresh token is expired.

Hi @neha.kumari2,

Welcome to the Auth0 Community!

Can you try using the refresh token in the background, then prompt for login when it returns an expired token error?

I think most of our SDKs will handle this for you if you don’t want to implement this behavior manually.