how to get the idtoken in the callback for googleStrategy
ashishnumino opened this issue · comments
function (accessToken, refreshToken, expiresIn, profile, done)
// Return done callback and pass transformed user object
{
tokenForMobile.access_token = accessToken;
tokenForMobile.refresh_token = refreshToken;
tokenForMobile.expires_in = expiresIn.expires_in;
**tokenForMobile.expires_in = expiresIn.expires_in;**
return done(null, transformGoogleProfile(profile._json));
}
```
I want to get the id_token in the callback since i need it later.