mkloubert / nativescript-social-login

NativeScript plugin for social (token based) log-ins.
MIT License
42 stars 44 forks source link

authToken is corrupted: Cannot verify authToken in server #77

Closed vahidvdn closed 5 years ago

vahidvdn commented 5 years ago

Hi. I verify the token I get from google client. This works fine in browser and I can verify my tokens from my server. But the authToken which I get from this plugin cannot be verified by Google.

My sample token I get from browser:

eyJhb...w => 1222 character length

My sample token I get from plugin:

eyJhb...g => 1121 character length

It seems the authToken has been corrupted. Any idea?

vahidvdn commented 5 years ago

My mistake by setting wrong value for serverClientId.