Adding Google/Oauth to Web API + SPA

I have created a new .NET 8 Web API + React SPA project using the new Visual Studio template (the one with Vite instead of CRA). I am using AspNetCore.Identity according to this tutorial (https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-api-authorization?view=aspnetcore-8.0). I am looking to add Google auth along with possibly some others such as Discord and Github. I cannot tell what is the correct way to implement this as there are many different guides which do not seem to agree with each other
Use Identity to secure a Web API backend for SPAs
Learn how to use Identity to secure a Web API backend for single page applications (SPAs).
3 Replies
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Victor Vintorez
Victor VintorezOP10mo ago
Theres nothing in the guide that says how to implement it for API+SPA as far as I can tell
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server