I've a
- Webapp in React.js
- An Android mobile app
- An ASP.NET Core WebAPI
I want to integrate Google and Facebook authentication to my WebApp and Android app. User can choose either Google or FB to authenticate.
I was able to get access token from Google & Facebook with React app and Android app. Now my question is
- How can the WebAPI know where to validate the token? From Google or from Facebook?
- I'm confused about the way this authentication federation works
What can be the step by step process on ASP.NET server to achieve the same? I was able to do react & android part but confused with C# part.
Or should I go for Identity Server 4 federation?