Microsoft.AspNetCore.Authentication.Google 10.0.0-preview.2.25164.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
Microsoft.AspNetCore.All
52
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
56
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.
50
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.
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.
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.
66
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.
54
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.
58
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.
60
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.
74
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.
81
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/1016eae4004686f7fdad13f5c329f63bbae1f3a1
70

.NET 10.0

  • No dependencies.

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