Giter Site home page Giter Site logo

Comments (5)

kangw3n avatar kangw3n commented on May 19, 2024 1

for @MosheWorld

i think npm for this project hasn't been update yet.
@jaibatrik might need republish to npm for your issues to work.

or u can manually changing your local angular4-social-login.umd.js by adding the following code inside
GoogleLoginProvider prototype fn

var token = _this.auth2.currentUser.get().getAuthResponse(true).access_token;

and return it back as user.authToken property

from angularx-social-login.

jaibatrik avatar jaibatrik commented on May 19, 2024 1

@MosheWorld @kangw3n I have pushed it to the npm. Thanks!

from angularx-social-login.

jinryung1983 avatar jinryung1983 commented on May 19, 2024

I've seen issue code in google-login-provider.ts file.
let token = this.auth2.currentUser.get().getAuthResponse(true).access_token;

this code should be as following
let token = this.auth2.currentUser.get().getAuthResponse().id_token;

it may typo. :)

from angularx-social-login.

kangw3n avatar kangw3n commented on May 19, 2024

i think access_token is correct in this situation?

token which pass back to user should be access_token for oAuth authentication?

https://stackoverflow.com/questions/46681889/clarification-on-id-token-vs-access-token

from angularx-social-login.

jaibatrik avatar jaibatrik commented on May 19, 2024

@MosheWorld You may need to do npm install angular4-social-login@latest to get the changes.

from angularx-social-login.

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.