score:1

Accepted answer
Auth.federatedSignIn(
    // Initiate federated sign-in with your User Pool  
    'cognito-idp.us-west-2.amazonaws.com/us-west-2_XXXXXXXXX',
    { 
        // the JWT token parsed from the response url
        token: #id_token
    },
    // (optional) a user object (a simple dictionary created from the #access_token)
    user
).then(() => {
    // ...
});

Related Query

More Query from same tag