Microsoft.AspNetCore.Authentication.Google 10.0.0-preview.7.25380.108

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
Microsoft.AspNetCore.All
54
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
56
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
57
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
59
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.
53
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.
54
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
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
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
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.
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.
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.
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.
63
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.
64

.NET 10.0

  • No dependencies.

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