Comments (5)
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.
@MosheWorld @kangw3n I have pushed it to the npm. Thanks!
from angularx-social-login.
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.
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.
@MosheWorld You may need to do npm install angular4-social-login@latest
to get the changes.
from angularx-social-login.
Related Issues (20)
- Google login issue HOT 1
- Google Authentication: Offline Access Type (allow retrieving refresh tokens) HOT 6
- Getting error by Google login directive. HOT 4
- unable to install in angular 14 HOT 3
- provide me steps for login and logout using google HOT 1
- Can't use Facebook OAuth for non-test application ID HOT 3
- Making Google button responsive
- Update the About Section of this Git Repo HOT 2
- Sorry, something went wrong. HOT 1
- Apple nativ support HOT 2
- It wont function with newest v16 angular client HOT 2
- Unable to subscribe to SocialAuthService authState HOT 5
- Login with google is broken HOT 18
- <asl-google-signin-button> css properties cannot be overwritten HOT 3
- Google changed something about login button render HOT 4
- Angular16 : ERROR Error: Uncaught (in promise): You should not call this method directly for Google, use "<asl-google-signin-button>" wrapper or generate the button yourself with "google.accounts.id.renderButton() HOT 10
- The entrypoint for '@abacritt/angularx-social-login' could not successfully be resolved. with Angular 16.2 HOT 1
- Angular V16 - Cross-Origin-Opener-Policy HOT 4
- Update to Angular v17 HOT 6
- Add more provider such as Twitter, Github, Gitlab, Apple HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularx-social-login.