Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Id_token not available in SocialUser #23

Open
tedlee87 opened this issue Oct 3, 2019 · 3 comments
Open

Id_token not available in SocialUser #23

tedlee87 opened this issue Oct 3, 2019 · 3 comments

Comments

@tedlee87
Copy link

tedlee87 commented Oct 3, 2019

When i login, the SocialUser does not contain id_token. Only the access_token.
Is there a way for me to get this from ng4-social-login package? I would like to pass this to my back end web api (.net core 2) and verify that user is authenticated

@sarfarazansari
Copy link
Owner

@tedlee87 sorry for the delay response. I was on vacation.
take a look of this one https://www.npmjs.com/package/ng-social-login-module

@tedlee87
Copy link
Author

@sarfarazansari No worries.

The ng-social-login-module has the same SocialUser Mode as ng4-social-login. I don't see anywhere that i can get the id_token. I only see access_token.
Or did i miss it somewhere?

@sarfarazansari
Copy link
Owner

@tedlee87 I've to cross-check with the documentation. could you please show your snippet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants