Social logins with Angular 2 and WebAPI

Viewed 1727

I'm trying to research how I can efficiently get social logins to work alongside Angular 2 with a .NET Core WebAPI solution.

At the moment, I'm only interested in google login and from what I understand it uses OAuth. From what I can see after researching online I need to be using the 'angular2-jwt' package to handle the JSON Token. Will I need to use IdentityServer to handle the social logins on the back end?

I'm also at a bit of a loss how I redirect the user to google after logging in and then collect the data google returns.

I've found a few mixed resources on social logins with angular 2, but can't seem to find anything concise that answers my questions related to .NET Core.

As a note, in the the future I'll most likely be integrating further social logins and a regular register page for people who don't want to use social logins, so I want to find a solution that will easily scale to accommodate that.

1 Answers
Related