I already read some topics here
- AWS cognito - Is it possible to get google access token and refresh using aws access token when sign in using google in from aws cognito
- https://github.com/aws-amplify/amplify-js/issues/3619.
The first one said I can't get Google Refresh Token from AWS Cognito.
The second one said AWS Cognito auto refresh Google Access Token and return to me when I call refresh AWS Cognito token.
So what is true?
I try to mapping Google Access Token and Refresh Token by using this
https://medium.com/graymatrix/using-custom-attributes-in-amazon-cognito-user-pool-288cd3128bae
After that i only get Google Access Token without Google Refresh Token.
Can someone tell me how to get Google Refresh Token from AWS Cognito? Or the official AWS document on this issue.