Code Monkey home page Code Monkey logo

Comments (5)

prithsharma avatar prithsharma commented on July 24, 2024 1

Got it. Just configuring with webClientId without offlineAccess gives idToken which I can send to my backend.
Thanks.

from google-signin.

devfd avatar devfd commented on July 24, 2024

please update to v0.3. both android and ios version should be good now

from google-signin.

prithsharma avatar prithsharma commented on July 24, 2024

@sriraman @devfd
What should I configure GooogleSignin with to get an idToken?
I was configuring with my webClientId and offlineAccess but am always receiving idToken as null.
Any ideas?

from google-signin.

sriraman avatar sriraman commented on July 24, 2024

@prithsharma : If you configure offlineAccess, then your idToken will always be null. But, You will get access token from the google. You should send that access token to your server and call https://www.googleapis.com/oauth2/v4/token with clientId, secret and token. Then, You will get the idToken from Google.

from google-signin.

sriraman avatar sriraman commented on July 24, 2024

If you configure without offlineAccess, you wont get the access token. So, You can't access any other information after user logged in.

from google-signin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.