A refresh token just helps you re-validate a user without them having to re-enter their login credentials multiple times . The access token is re-issued, provided the refresh token is a valid one requesting permission to access confidential resources.
Read moreHow do I refresh my token?
To use the refresh token, make a POST request to the service’s token endpoint with grant_type=refresh_token , and include the refresh token as well as the client credentials if required .
Read moreHow do you handle token expiration in flutter?
when the token expires, it should give a response code 401. In this case you can call a new function to get a fresh token and replace the old token with the response received.
Read moreHow do you refresh a firebase token in flutter?
It only refreshes when :
Read more