You can store token information in Secure Storage and request a new token when the old token is about to expire. When a new token is received, update information in Secure Storage. You can find a sample project in the following GitHub repository: Managing secured sessions