Microsoft.AspNetCore.Authentication.Google 10.0.0

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

  1. Refer to the guide in the official documentation here to configure the Google OAuth 2.0 client ID and secret
  2. Follow the steps in the official documentation here to store the Google client ID and secret
  3. 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 authentication
  • GoogleHandler: 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.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Authentication.Google.

Packages Downloads
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.
65
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.
62
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.
61
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
60
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.
60
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
59
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
59
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
58
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.
58
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
57
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.
56
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
55
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.
55

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.0 2 11/13/2025
10.0.0-rc.2.25502.107 6 10/16/2025
10.0.0-rc.1.25451.107 10 09/11/2025
10.0.0-preview.7.25380.108 15 08/14/2025
10.0.0-preview.6.25358.103 14 07/17/2025
10.0.0-preview.5.25277.114 20 06/12/2025
10.0.0-preview.4.25258.110 22 05/13/2025
10.0.0-preview.3.25172.1 26 04/12/2025
10.0.0-preview.2.25164.1 29 03/22/2025
10.0.0-preview.1.25120.3 29 03/01/2025
9.0.11 5 11/14/2025
9.0.10 6 10/16/2025
9.0.9 11 09/13/2025
9.0.8 14 08/05/2025
9.0.7 16 07/10/2025
9.0.6 20 06/12/2025
9.0.5 25 05/16/2025
9.0.4 30 04/12/2025
9.0.3 27 03/12/2025
9.0.2 30 02/16/2025
9.0.1 31 01/25/2025
9.0.0 38 11/13/2024
9.0.0-rc.2.24474.3 43 10/08/2024
9.0.0-rc.1.24452.1 44 09/10/2024
9.0.0-preview.7.24406.2 43 08/13/2024
9.0.0-preview.6.24328.4 46 07/10/2024
9.0.0-preview.5.24306.11 51 06/13/2024
9.0.0-preview.4.24267.6 54 05/25/2024
9.0.0-preview.3.24172.13 52 04/11/2024
9.0.0-preview.2.24128.4 51 03/14/2024
9.0.0-preview.1.24081.5 63 02/25/2024
8.0.22 3 11/14/2025
8.0.21 7 10/16/2025
8.0.20 11 09/12/2025
8.0.19 15 08/05/2025
8.0.18 15 07/10/2025
8.0.17 21 06/12/2025
8.0.16 25 05/16/2025
8.0.15 24 04/12/2025
8.0.14 27 03/12/2025
8.0.13 30 02/16/2025
8.0.12 35 01/16/2025
8.0.11 33 11/13/2024
8.0.10 44 10/08/2024
8.0.8 48 08/13/2024
8.0.7 54 07/09/2024
8.0.6 56 05/30/2024
8.0.5 48 05/14/2024
8.0.4 46 04/10/2024
8.0.3 52 03/14/2024
8.0.2 60 02/25/2024
8.0.1 53 01/11/2024
8.0.0 55 11/15/2023
8.0.0-rc.2.23480.2 64 10/19/2023
8.0.0-rc.1.23421.29 55 09/14/2023
8.0.0-preview.7.23375.9 61 08/21/2023
8.0.0-preview.6.23329.11 52 08/11/2023
8.0.0-preview.5.23302.2 65 06/30/2023
8.0.0-preview.4.23260.4 61 07/11/2023
8.0.0-preview.3.23177.8 61 08/01/2023
8.0.0-preview.2.23153.2 69 08/05/2023
8.0.0-preview.1.23112.2 64 08/14/2023
7.0.20 48 05/30/2024
7.0.19 56 05/14/2024
7.0.18 50 04/10/2024
7.0.17 52 03/14/2024
7.0.16 52 02/25/2024
7.0.15 59 01/11/2024
7.0.14 69 11/16/2023
7.0.13 58 10/26/2023
7.0.12 61 10/19/2023
7.0.11 62 09/14/2023
7.0.10 66 08/16/2023
7.0.9 54 08/05/2023
7.0.8 64 08/09/2023
7.0.7 55 07/01/2023
7.0.5 60 08/05/2023
7.0.4 56 08/17/2023
7.0.3 71 06/13/2023
7.0.2 59 08/10/2023
7.0.1 59 07/02/2023
7.0.0 54 07/23/2023
7.0.0-rc.2.22476.2 55 08/09/2023
7.0.0-rc.1.22427.2 67 08/05/2023
7.0.0-preview.7.22376.6 56 07/19/2023
7.0.0-preview.6.22330.3 66 08/12/2023
7.0.0-preview.5.22303.8 65 07/15/2023
7.0.0-preview.4.22251.1 61 06/18/2023
7.0.0-preview.3.22178.4 66 08/21/2023
7.0.0-preview.2.22153.2 66 07/25/2023
7.0.0-preview.1.22109.13 52 08/12/2023
6.0.36 42 11/13/2024
6.0.35 48 10/09/2024
6.0.33 50 08/13/2024
6.0.32 40 07/09/2024
6.0.31 54 05/30/2024
6.0.30 48 05/14/2024
6.0.29 52 04/10/2024
6.0.28 48 03/14/2024
6.0.27 51 02/20/2024
6.0.26 53 01/11/2024
6.0.25 55 11/16/2023
6.0.24 60 10/27/2023
6.0.23 64 10/19/2023
6.0.22 55 09/14/2023
6.0.21 50 08/18/2023
6.0.20 55 08/08/2023
6.0.19 53 08/22/2023
6.0.18 64 08/18/2023
6.0.16 54 08/02/2023
6.0.15 54 07/10/2023
6.0.14 62 07/01/2023
6.0.13 57 06/17/2023
6.0.12 57 08/06/2023
6.0.11 60 08/23/2023
6.0.10 54 07/29/2023
6.0.9 62 07/24/2023
6.0.8 56 07/27/2023
6.0.7 52 08/17/2023
6.0.6 59 08/15/2023
6.0.5 64 07/03/2023
6.0.4 62 06/04/2023
6.0.3 56 07/10/2023
6.0.2 56 07/17/2023
6.0.1 62 06/07/2023
6.0.0 72 06/07/2023
6.0.0-rc.2.21480.10 63 08/25/2023
6.0.0-rc.1.21452.15 54 08/08/2023
6.0.0-preview.7.21378.6 57 08/02/2023
6.0.0-preview.6.21355.2 48 08/08/2023
6.0.0-preview.5.21301.17 58 06/27/2023
6.0.0-preview.4.21253.5 59 07/02/2023
6.0.0-preview.3.21201.13 65 08/07/2023
6.0.0-preview.2.21154.6 52 08/12/2023
6.0.0-preview.1.21103.6 58 08/07/2023
5.0.17 56 08/04/2023
5.0.16 59 08/06/2023
5.0.15 55 07/04/2023
5.0.14 61 08/18/2023
5.0.13 53 08/10/2023
5.0.12 52 06/17/2023
5.0.11 61 08/10/2023
5.0.10 58 08/05/2023
5.0.9 61 08/08/2023
5.0.8 66 08/17/2023
5.0.7 56 08/14/2023
5.0.6 51 08/17/2023
5.0.5 60 08/10/2023
5.0.4 66 06/30/2023
5.0.3 61 07/10/2023
5.0.2 66 08/07/2023
5.0.1 58 08/06/2023
5.0.0 53 08/02/2023
5.0.0-rc.2.20475.17 53 08/04/2023
5.0.0-rc.1.20451.17 62 08/22/2023
5.0.0-preview.8.20414.8 62 09/18/2023
5.0.0-preview.7.20365.19 61 08/17/2023
5.0.0-preview.6.20312.15 61 08/22/2023
5.0.0-preview.5.20279.2 62 06/03/2023
5.0.0-preview.4.20257.10 65 08/08/2023
5.0.0-preview.3.20215.14 50 07/17/2023
5.0.0-preview.2.20167.3 58 08/26/2023
5.0.0-preview.1.20124.5 55 08/03/2023
3.1.32 68 08/14/2023
3.1.31 52 07/16/2023
3.1.30 61 07/02/2023
3.1.29 64 07/20/2023
3.1.28 61 07/17/2023
3.1.27 53 06/20/2023
3.1.26 53 06/21/2023
3.1.25 65 08/12/2023
3.1.24 61 06/06/2023
3.1.23 60 06/26/2023
3.1.22 51 08/06/2023
3.1.21 57 08/05/2023
3.1.20 61 07/24/2023
3.1.19 61 08/10/2023
3.1.18 60 08/06/2023
3.1.17 57 08/07/2023
3.1.16 56 07/05/2023
3.1.15 63 07/29/2023
3.1.14 55 08/08/2023
3.1.13 54 07/14/2023
3.1.12 60 08/12/2023
3.1.11 57 07/27/2023
3.1.10 64 06/19/2023
3.1.9 56 07/05/2023
3.1.8 50 07/16/2023
3.1.7 63 08/04/2023
3.1.6 52 07/08/2023
3.1.5 64 08/06/2023
3.1.4 57 07/21/2023
3.1.3 65 06/27/2023
3.1.2 59 06/08/2023
3.1.1 67 08/10/2023
3.1.0 60 07/03/2023
3.1.0-preview3.19555.2 59 08/09/2023
3.1.0-preview2.19528.8 58 08/12/2023
3.1.0-preview1.19508.20 50 06/19/2023
3.0.3 54 07/14/2023
3.0.2 68 07/28/2023
3.0.0 55 06/16/2023
3.0.0-rc1.19457.4 61 08/21/2023
3.0.0-preview9.19424.4 57 08/09/2023
3.0.0-preview8.19405.7 55 08/19/2023
3.0.0-preview7.19365.7 59 07/30/2023
3.0.0-preview6.19307.2 53 08/08/2023
3.0.0-preview5-19227-01 57 07/14/2023
3.0.0-preview4-19216-03 60 08/24/2023
3.0.0-preview3-19153-02 58 08/06/2023
3.0.0-preview-19075-0444 50 07/04/2023
3.0.0-preview-18579-0056 61 08/11/2023
2.3.0 36 01/22/2025
2.2.2 60 08/11/2023
2.2.0 57 07/14/2023
2.2.0-preview3-35497 55 08/10/2023
2.2.0-preview2-35157 54 07/16/2023
2.2.0-preview1-35029 62 08/17/2023
2.1.8 60 08/05/2023
2.1.2 63 06/17/2023
2.1.1 71 08/08/2023
2.1.0 57 06/09/2023
2.1.0-rc1-final 60 08/14/2023
2.1.0-preview2-final 76 10/03/2023
2.1.0-preview1-final 53 08/21/2023
2.0.4 68 06/27/2023
2.0.3 62 07/13/2023
2.0.1 68 07/24/2023
2.0.0 55 06/05/2023
2.0.0-preview2-final 55 08/11/2023
2.0.0-preview1-final 48 08/10/2023
1.1.3 72 08/05/2023
1.1.2 51 07/25/2023
1.1.1 52 08/04/2023
1.1.0 61 06/17/2023
1.1.0-preview1-final 73 08/09/2023
1.0.5 63 08/18/2023
1.0.4 64 07/06/2023
1.0.3 53 07/16/2023
1.0.2 48 07/09/2023
1.0.1 65 08/04/2023
1.0.0 60 07/21/2023
1.0.0-rc2-final 53 07/19/2023