How to retrieve Googleplus idToken


I’m using googleplus native login in my app with ionic 2, as outlined in the ionic documentation.

The app is working fine but I would like to authenticate on the server (and retrieve the google id) and for this I need the idToken from google, but I can’t see it anywhere in the result from the googleAuth.login function.

The cordova.plugin-googleplus documentation mentions that it should be provided.

Many thanks for your help!


Any solutions found? Same Problem with Ionic 4

A question before answering them since it is important to see what kind of response I give them since both are different but are obtained in a different way.

Are the authentication being done by firebase or in a normal way, without firebase?

I’m facing the same issue. Any solution?