Hi
How to authenticate with Google/Facebook account
Thanks
Hi
How to authenticate with Google/Facebook account
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jun 24, 2021, 8:52 AM EDT
create an MVC project and check the individual sigin user, then copy the Account controller's code, Startup.Auth.cs code from (App_Start) and startup.cs
create one web app and get your google client id and client secret from console.cloud.google.com and paste in the startup.auth.cs where it is asked.
install Owin.security
Microsoft.owin.Host.SystemWeb
Microsoft.Owin.Security.Google
copy the connection string from the web. config and modify it as per your database and you are all set.