Created
July 16, 2019 20:14
-
-
Save bezysoftware/99dfcd6b2eaaff518dc33220b91cebde to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void ConfigureServices(IServiceCollection services) | |
| { | |
| // ... | |
| services | |
| .AddAuthentication() | |
| .AddGoogle(c => | |
| { | |
| c.ClientId = "xyz.apps.googleusercontent.com"; | |
| c.ClientSecret = "top-secret"; | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment