title: how handle refresh token service in AWS amplify-js
body: <p>In my react project I am using AWS Cognito user pool for user management, for user authentication, I am using AWS Cognito idToken. after 90min the session will expire, then I need to refresh with new idToken. how to handle the refresh token service in AWS Cognito using amplify-js. I tried with <code>Auth.currentSession()</code> I will call this for every 1 hour but it's not working for me. </p>