© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
6 replies
Victor Vintorez

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).
Use Identity to secure a Web API backend for SPAs
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Serve SPA (React) in ASP.NET web API
C#CC# / help
2y ago
Trying to use Google auth in Web API
C#CC# / help
4y ago
❔ Serving SPA on ASP.NET Core MVC Web API
C#CC# / help
3y ago
Google Api to C#
C#CC# / help
16mo ago