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

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.
46
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
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
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.
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
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.
38
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
37
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.
37
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
37
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
36
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.
35
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
35

.NET 10.0

  • No dependencies.

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