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.
49
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.
43
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.
42
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
41
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.
41
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.
40
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
40
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.
39
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
39

.NET 10.0

  • No dependencies.

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