✅ Google External sign in using Identity
I want to learn how to implement a google external sign-in route (and Identity in general) in my
ASP.NET Web API
but I can't find any recent tutorial on that topic. Microsoft's official tutorial is for RazorPages
only and tells you to add AddAuthentication().AddGoogle()
and everything should work. I want to create it for Web API
because I need it for the React
front end. I found a few tutorials but they are 3-5 years old. Can you suggest any tutorials on this topic or for Identity
in Web API
in general? Also, I used it about 2 years ago and I had to create routes like register
and login
by myself using userManager
and signInManager
etc, now the tutorial suggests using MapIdentityApi
which serves pre-made routes which I can't modify. Is it a new way to use Identity
or it's just made for simplicity in tutorial only?2 Replies