All you have to do is create an MVC project in C #, enable Single Authorization, and edit the Startup.Auth.cs file with the information:
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions() { ClientId = "{your ID}", ClientSecret = "{your client-secret}" });
parismiguel
source share