We are using Cognito with Google as the identity provider.
On the client side, we are using Amplify to sign-in sign-out etc.
During the sign in, I call the Amplify