how handle refresh token service in AWS amplify-js
问题 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 Auth.currentSession() I will call this for every 1 hour but it's not working for me. 回答1: After a long struggle, I found the solution to update the AWS Cognito refresh token, To do this I am using the