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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jun 24, 2021, 12:52 PM
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.