You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Refer to the guide in the official documentation [here](https://learn.microsoft.com/aspnet/core/security/authentication/social/google-logins#create-the-google-oauth-20-client-id-and-secret) to configure the Google OAuth 2.0 client ID and secret
18
+
2. Follow the steps in the official documentation [here](https://learn.microsoft.com/aspnet/core/security/authentication/social/google-logins#store-the-google-client-id-and-secret) to store the Google client ID and secret
19
+
3. Add the Authentication service to your app's `Program.cs`:
* `GoogleOptions`:Representstheoptionsfor configuring Google authentication
35
+
* `GoogleHandler`: The authentication handler responsible for processing Google authentication requests and generating the appropriate authentication ticket
36
+
37
+
## Additional Documentation
38
+
39
+
For additional documentation and examples, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/security/authentication/social/google-logins) on Google login setup in ASP.NET Core.
40
+
41
+
## Feedback & Contributing
42
+
43
+
`Microsoft.AspNetCore.Authentication.Google` is released as open-source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/aspnetcore).
0 commit comments