aspnet / Security

[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
1.27k stars 599 forks source link

Login with External Providers (Microsoft, Facebook, Google, Twitter) in Asp.Net Core (2.x) Web API #1555

Closed a-patel closed 6 years ago

a-patel commented 6 years ago

I am using,

Asp.Net Core (2.x) + Web API Identity User OpenIddict for Authentication SPA (Angular) app for Front End. Created Google and Facebook Application (for App Id/Key and Secrets) Not using Identity Server (4).

a-patel commented 6 years ago

It will be better if someone can give me the, "Sequence of events which will take place during external login"

Tratcher commented 6 years ago

You should refer to OpenIddict samples for this scenario.

kevinchalet commented 6 years ago

You may want to give @asadsahi's project a try. It does exactly what you're looking for: https://github.com/asadsahi/AspNetCoreSpa

a-patel commented 6 years ago

Thanks @Tratcher and @PinpointTownes