Microsoft.AspNetCore.Authentication.Google
10.0.0-preview.1.25120.3
Prefix Reserved
dotnet add package Microsoft.AspNetCore.Authentication.Google --version 10.0.0-preview.1.25120.3
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Google -Version 10.0.0-preview.1.25120.3
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="10.0.0-preview.1.25120.3" />
paket add Microsoft.AspNetCore.Authentication.Google --version 10.0.0-preview.1.25120.3
#r "nuget: Microsoft.AspNetCore.Authentication.Google, 10.0.0-preview.1.25120.3"
// Install Microsoft.AspNetCore.Authentication.Google as a Cake Addin #addin nuget:?package=Microsoft.AspNetCore.Authentication.Google&version=10.0.0-preview.1.25120.3&prerelease // Install Microsoft.AspNetCore.Authentication.Google as a Cake Tool #tool nuget:?package=Microsoft.AspNetCore.Authentication.Google&version=10.0.0-preview.1.25120.3&prerelease
About
Microsoft.AspNetCore.Authentication.Google
contains middleware to support Google's OAuth 2.0 authentication workflow.
How to Use
To use Microsoft.AspNetCore.Authentication.Google
, follow these steps:
Installation
dotnet add package Microsoft.AspNetCore.Authentication.Google
Configuration
- Refer to the guide in the official documentation here to configure the Google OAuth 2.0 client ID and secret
- Follow the steps in the official documentation here to store the Google client ID and secret
- Add the Authentication service to your app's
Program.cs
:var builder = WebApplication.CreateBuilder(args); builder.Services.AddAuthentication().AddGoogle(googleOptions => { googleOptions.ClientId = builder.Configuration["Authentication:Google:ClientId"]; googleOptions.ClientSecret = builder.Configuration["Authentication:Google:ClientSecret"]; });
Main Types
The main types provided by this package are:
GoogleOptions
: Represents the options for configuring Google authenticationGoogleHandler
: The authentication handler responsible for processing Google authentication requests and generating the appropriate authentication ticket
Additional Documentation
For additional documentation and examples, refer to the official documentation on Google login setup in ASP.NET Core.
Feedback & Contributing
Microsoft.AspNetCore.Authentication.Google
is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. |
-
net10.0
- No dependencies.
NuGet packages (125)
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.Google:
Package | Downloads |
---|---|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Abp.AspNetZeroCore.Web
Package Description |
|
NanoCore
The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar. |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
GitHub repositories (65)
Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.Google:
Repository | Stars |
---|---|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
EduardoPires/EquinoxProject
Web Application ASP.NET 8 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
|
|
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.1.25120.3 | 415 | 2/25/2025 | |
9.0.3 | 0 | 3/11/2025 | |
9.0.2 | 51,046 | 2/11/2025 | |
9.0.1 | 84,266 | 1/14/2025 | |
9.0.0 | 130,316 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 10,833 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 4,059 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 1,610 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 57,193 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 778 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 717 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 67,941 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 770 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 22,151 | 2/13/2024 | |
8.0.14 | 0 | 3/11/2025 | |
8.0.13 | 19,897 | 2/11/2025 | |
8.0.12 | 37,587 | 1/14/2025 | |
8.0.11 | 181,915 | 11/12/2024 | |
8.0.10 | 297,947 | 10/8/2024 | |
8.0.8 | 381,464 | 8/13/2024 | |
8.0.7 | 212,728 | 7/9/2024 | |
8.0.6 | 268,514 | 5/28/2024 | |
8.0.5 | 164,440 | 5/14/2024 | |
8.0.4 | 268,884 | 4/9/2024 | |
8.0.3 | 264,515 | 3/12/2024 | |
8.0.2 | 273,727 | 2/13/2024 | |
8.0.1 | 257,562 | 1/9/2024 | |
8.0.0 | 603,945 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 7,811 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 2,935 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 2,245 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 2,583 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 1,234 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 211,586 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 1,630 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 87,892 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 50,991 | 2/21/2023 | |
7.0.20 | 42,722 | 5/28/2024 | |
7.0.19 | 3,027 | 5/14/2024 | |
7.0.18 | 6,857 | 4/9/2024 | |
7.0.17 | 12,537 | 3/12/2024 | |
7.0.16 | 19,965 | 2/13/2024 | |
7.0.15 | 31,176 | 1/9/2024 | |
7.0.14 | 89,852 | 11/14/2023 | |
7.0.13 | 126,691 | 10/24/2023 | |
7.0.12 | 60,835 | 10/10/2023 | |
7.0.11 | 116,583 | 9/12/2023 | |
7.0.10 | 184,644 | 8/8/2023 | |
7.0.9 | 128,861 | 7/11/2023 | |
7.0.8 | 98,456 | 6/22/2023 | |
7.0.7 | 37,620 | 6/13/2023 | |
7.0.5 | 457,336 | 4/11/2023 | |
7.0.4 | 118,921 | 3/14/2023 | |
7.0.3 | 126,954 | 2/14/2023 | |
7.0.2 | 174,252 | 1/10/2023 | |
7.0.1 | 78,014 | 12/13/2022 | |
7.0.0 | 316,539 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 3,309 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 67,333 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 1,057 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 752 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 956 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 4,400 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 1,000 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 549 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 563 | 2/17/2022 | |
6.0.36 | 9,254 | 11/12/2024 | |
6.0.35 | 6,992 | 10/8/2024 | |
6.0.33 | 14,873 | 8/13/2024 | |
6.0.32 | 14,131 | 7/9/2024 | |
6.0.31 | 14,230 | 5/28/2024 | |
6.0.30 | 18,932 | 5/14/2024 | |
6.0.29 | 14,149 | 4/9/2024 | |
6.0.28 | 17,916 | 3/12/2024 | |
6.0.27 | 19,250 | 2/13/2024 | |
6.0.26 | 41,175 | 1/9/2024 | |
6.0.25 | 58,382 | 11/14/2023 | |
6.0.24 | 119,966 | 10/24/2023 | |
6.0.23 | 21,263 | 10/10/2023 | |
6.0.22 | 60,493 | 9/12/2023 | |
6.0.21 | 99,580 | 8/8/2023 | |
6.0.20 | 52,751 | 7/11/2023 | |
6.0.19 | 45,962 | 6/22/2023 | |
6.0.18 | 28,963 | 6/13/2023 | |
6.0.16 | 186,642 | 4/11/2023 | |
6.0.15 | 81,180 | 3/14/2023 | |
6.0.14 | 73,426 | 2/14/2023 | |
6.0.13 | 246,014 | 1/10/2023 | |
6.0.12 | 85,965 | 12/13/2022 | |
6.0.11 | 232,988 | 11/7/2022 | |
6.0.10 | 317,355 | 10/11/2022 | |
6.0.9 | 186,558 | 9/13/2022 | |
6.0.8 | 333,989 | 8/9/2022 | |
6.0.7 | 742,457 | 7/12/2022 | |
6.0.6 | 272,994 | 6/14/2022 | |
6.0.5 | 1,239,779 | 5/10/2022 | |
6.0.4 | 291,148 | 4/11/2022 | |
6.0.3 | 214,565 | 3/8/2022 | |
6.0.2 | 222,275 | 2/8/2022 | |
6.0.1 | 956,642 | 12/14/2021 | |
6.0.0 | 779,370 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 5,654 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 4,969 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 2,727 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 1,599 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 1,289 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 1,062 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 972 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 809 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,988 | 2/12/2021 | |
5.0.17 | 152,388 | 5/10/2022 | |
5.0.16 | 30,532 | 4/11/2022 | |
5.0.15 | 37,273 | 3/8/2022 | |
5.0.14 | 42,390 | 2/8/2022 | |
5.0.13 | 78,819 | 12/14/2021 | |
5.0.12 | 58,091 | 11/7/2021 | |
5.0.11 | 134,207 | 10/12/2021 | |
5.0.10 | 148,927 | 9/14/2021 | |
5.0.9 | 134,881 | 8/10/2021 | |
5.0.8 | 158,464 | 7/13/2021 | |
5.0.7 | 233,924 | 6/8/2021 | |
5.0.6 | 151,909 | 5/11/2021 | |
5.0.5 | 200,339 | 4/6/2021 | |
5.0.4 | 179,253 | 3/9/2021 | |
5.0.3 | 139,268 | 2/9/2021 | |
5.0.2 | 121,676 | 1/12/2021 | |
5.0.1 | 147,194 | 12/8/2020 | |
5.0.0 | 454,349 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 2,467 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 3,536 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 1,244 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 1,478 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 1,158 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 720 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 812 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 1,689 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 772 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 771 | 3/16/2020 | |
3.1.32 | 43,351 | 12/13/2022 | |
3.1.31 | 8,084 | 11/8/2022 | |
3.1.30 | 6,158 | 10/11/2022 | |
3.1.29 | 6,860 | 9/13/2022 | |
3.1.28 | 11,462 | 8/9/2022 | |
3.1.27 | 11,800 | 7/12/2022 | |
3.1.26 | 14,733 | 6/14/2022 | |
3.1.25 | 14,377 | 5/10/2022 | |
3.1.24 | 8,345 | 4/11/2022 | |
3.1.23 | 23,684 | 3/8/2022 | |
3.1.22 | 39,562 | 12/14/2021 | |
3.1.21 | 31,391 | 11/7/2021 | |
3.1.20 | 49,279 | 10/11/2021 | |
3.1.19 | 33,996 | 9/14/2021 | |
3.1.18 | 120,698 | 8/10/2021 | |
3.1.17 | 56,604 | 7/13/2021 | |
3.1.16 | 80,377 | 6/8/2021 | |
3.1.15 | 29,111 | 5/11/2021 | |
3.1.14 | 103,705 | 4/6/2021 | |
3.1.13 | 105,002 | 3/9/2021 | |
3.1.12 | 71,362 | 2/9/2021 | |
3.1.11 | 148,559 | 1/12/2021 | |
3.1.10 | 275,621 | 11/9/2020 | |
3.1.9 | 249,401 | 10/13/2020 | |
3.1.8 | 321,340 | 9/8/2020 | |
3.1.7 | 152,915 | 8/11/2020 | |
3.1.6 | 190,130 | 7/14/2020 | |
3.1.5 | 598,576 | 6/9/2020 | |
3.1.4 | 194,605 | 5/12/2020 | |
3.1.3 | 448,268 | 3/24/2020 | |
3.1.2 | 257,687 | 2/18/2020 | |
3.1.1 | 221,810 | 1/14/2020 | |
3.1.0 | 334,022 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 1,022 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 687 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 922 | 10/15/2019 | |
3.0.3 | 15,066 | 2/18/2020 | |
3.0.2 | 15,825 | 1/14/2020 | |
3.0.0 | 855,511 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 2,499 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 2,025 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 4,984 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 2,500 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 3,124 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 2,780 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 2,027 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 2,603 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 1,937 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 2,263 | 12/3/2018 | |
2.3.0 | 144 | 1/14/2025 | |
2.2.2 | 9,553,864 | 2/12/2019 | |
2.2.0 | 10,713,637 | 12/3/2018 | |
2.2.0-preview3-35497 | 63,365 | 10/17/2018 | |
2.2.0-preview2-35157 | 6,018 | 9/12/2018 | |
2.2.0-preview1-35029 | 3,374 | 8/22/2018 | |
2.1.8 | 4,586,050 | 2/12/2019 | |
2.1.2 | 9,025,904 | 8/21/2018 | |
2.1.1 | 10,558,280 | 6/18/2018 | |
2.1.0 | 3,457,823 | 5/29/2018 | |
2.1.0-rc1-final | 19,500 | 5/6/2018 | |
2.1.0-preview2-final | 19,939 | 4/10/2018 | |
2.1.0-preview1-final | 27,395 | 2/26/2018 | |
2.0.4 | 3,732,935 | 5/7/2018 | |
2.0.3 | 3,413,582 | 3/13/2018 | |
2.0.1 | 5,238,253 | 11/14/2017 | |
2.0.0 | 6,355,476 | 8/11/2017 | |
2.0.0-preview2-final | 55,867 | 6/27/2017 | |
2.0.0-preview1-final | 22,357 | 5/10/2017 | |
1.1.3 | 11,431 | 9/20/2017 | |
1.1.2 | 121,068 | 5/9/2017 | |
1.1.1 | 143,758 | 3/6/2017 | |
1.1.0 | 118,117 | 11/16/2016 | |
1.1.0-preview1-final | 4,012 | 10/24/2016 | |
1.0.5 | 4,686 | 11/14/2017 | |
1.0.4 | 3,280 | 9/20/2017 | |
1.0.3 | 5,415 | 5/9/2017 | |
1.0.2 | 14,971 | 3/6/2017 | |
1.0.1 | 8,106 | 12/12/2016 | |
1.0.0 | 160,987 | 6/27/2016 | |
1.0.0-rc2-final | 6,311 | 5/16/2016 |