Microsoft.AspNetCore.Authentication.Google 11.0.0-preview.1.26104.118

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
106
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
107
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
108
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
113
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.
106
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.
109
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.
110
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.
111
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.
112
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.
113
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.
114
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.
115
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.
116
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.
117
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.
121
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/1016eae4004686f7fdad13f5c329f63bbae1f3a1
115

.NET 11.0

  • No dependencies.

Version Downloads Last updated
11.0.0-preview.1.26104.118 1 02/12/2026
10.0.3 3 02/11/2026
10.0.2 8 01/14/2026
10.0.1 20 12/11/2025
10.0.0 32 11/12/2025
10.0.0-rc.2.25502.107 52 10/15/2025
10.0.0-rc.1.25451.107 51 09/09/2025
10.0.0-preview.7.25380.108 66 08/14/2025
10.0.0-preview.6.25358.103 75 07/16/2025
10.0.0-preview.5.25277.114 75 06/07/2025
10.0.0-preview.4.25258.110 70 05/17/2025
10.0.0-preview.3.25172.1 76 04/11/2025
10.0.0-preview.2.25164.1 85 03/31/2025
10.0.0-preview.1.25120.3 83 04/01/2025
9.0.13 3 02/11/2026
9.0.12 6 01/14/2026
9.0.11 30 11/12/2025
9.0.10 37 10/14/2025
9.0.9 54 09/09/2025
9.0.8 57 08/06/2025
9.0.7 71 07/09/2025
9.0.6 65 06/12/2025
9.0.5 94 05/17/2025
9.0.4 92 04/11/2025
9.0.3 94 03/29/2025
9.0.2 80 03/29/2025
9.0.1 92 03/29/2025
9.0.0 87 11/14/2024
9.0.0-rc.2.24474.3 87 10/15/2024
9.0.0-rc.1.24452.1 96 09/20/2024
9.0.0-preview.7.24406.2 87 08/29/2024
9.0.0-preview.6.24328.4 114 07/21/2024
9.0.0-preview.5.24306.11 100 07/21/2024
9.0.0-preview.4.24267.6 113 07/21/2024
9.0.0-preview.3.24172.13 106 07/21/2024
9.0.0-preview.2.24128.4 106 07/21/2024
9.0.0-preview.1.24081.5 114 07/21/2024
8.0.24 3 02/11/2026
8.0.23 6 01/14/2026
8.0.22 45 11/12/2025
8.0.21 43 10/15/2025
8.0.20 56 09/09/2025
8.0.19 57 08/05/2025
8.0.18 64 07/09/2025
8.0.17 74 06/12/2025
8.0.16 96 05/17/2025
8.0.15 94 04/11/2025
8.0.14 93 03/29/2025
8.0.13 86 03/29/2025
8.0.12 81 03/29/2025
8.0.11 97 11/14/2024
8.0.10 100 10/16/2024
8.0.8 101 08/29/2024
8.0.7 107 07/21/2024
8.0.6 107 07/21/2024
8.0.5 120 07/21/2024
8.0.4 110 07/21/2024
8.0.3 124 07/21/2024
8.0.2 115 07/21/2024
8.0.1 108 07/21/2024
8.0.0 106 07/21/2024
8.0.0-rc.2.23480.2 113 07/21/2024
8.0.0-rc.1.23421.29 112 07/21/2024
8.0.0-preview.7.23375.9 102 07/21/2024
8.0.0-preview.6.23329.11 102 07/21/2024
8.0.0-preview.5.23302.2 117 07/21/2024
8.0.0-preview.4.23260.4 108 07/21/2024
8.0.0-preview.3.23177.8 107 07/21/2024
8.0.0-preview.2.23153.2 104 07/21/2024
8.0.0-preview.1.23112.2 98 07/21/2024
7.0.20 115 07/21/2024
7.0.19 123 07/21/2024
7.0.18 111 07/21/2024
7.0.17 100 07/21/2024
7.0.16 109 07/21/2024
7.0.15 103 07/21/2024
7.0.14 112 07/21/2024
7.0.13 109 07/21/2024
7.0.12 99 07/21/2024
7.0.11 109 07/21/2024
7.0.10 127 07/21/2024
7.0.9 105 07/21/2024
7.0.8 125 07/21/2024
7.0.7 122 07/21/2024
7.0.5 106 07/21/2024
7.0.4 115 07/21/2024
7.0.3 108 07/21/2024
7.0.2 118 07/21/2024
7.0.1 120 07/21/2024
7.0.0 114 07/21/2024
7.0.0-rc.2.22476.2 114 07/21/2024
7.0.0-rc.1.22427.2 116 07/21/2024
7.0.0-preview.7.22376.6 102 07/21/2024
7.0.0-preview.6.22330.3 114 07/21/2024
7.0.0-preview.5.22303.8 114 07/21/2024
7.0.0-preview.4.22251.1 100 07/21/2024
7.0.0-preview.3.22178.4 99 07/21/2024
7.0.0-preview.2.22153.2 120 07/21/2024
7.0.0-preview.1.22109.13 100 07/21/2024
6.0.36 91 11/14/2024
6.0.35 86 10/17/2024
6.0.33 86 09/12/2024
6.0.32 115 07/21/2024
6.0.31 105 07/21/2024
6.0.30 110 07/21/2024
6.0.29 104 07/21/2024
6.0.28 101 07/21/2024
6.0.27 105 07/21/2024
6.0.26 108 07/21/2024
6.0.25 108 07/21/2024
6.0.24 102 07/21/2024
6.0.23 114 07/21/2024
6.0.22 103 07/21/2024
6.0.21 121 07/21/2024
6.0.20 105 07/21/2024
6.0.19 115 07/21/2024
6.0.18 124 07/21/2024
6.0.16 122 07/21/2024
6.0.15 113 07/21/2024
6.0.14 112 07/21/2024
6.0.13 112 07/21/2024
6.0.12 99 07/21/2024
6.0.11 116 07/21/2024
6.0.10 105 07/21/2024
6.0.9 124 07/21/2024
6.0.8 112 07/21/2024
6.0.7 109 07/21/2024
6.0.6 102 07/21/2024
6.0.5 106 07/21/2024
6.0.4 116 07/21/2024
6.0.3 109 07/21/2024
6.0.2 108 07/21/2024
6.0.1 125 07/21/2024
6.0.0 104 07/21/2024
6.0.0-rc.2.21480.10 109 07/21/2024
6.0.0-rc.1.21452.15 111 07/21/2024
6.0.0-preview.7.21378.6 122 07/21/2024
6.0.0-preview.6.21355.2 122 07/21/2024
6.0.0-preview.5.21301.17 112 07/21/2024
6.0.0-preview.4.21253.5 107 07/21/2024
6.0.0-preview.3.21201.13 93 07/21/2024
6.0.0-preview.2.21154.6 108 07/21/2024
6.0.0-preview.1.21103.6 128 07/21/2024
5.0.17 107 07/21/2024
5.0.16 110 07/21/2024
5.0.15 111 07/21/2024
5.0.14 110 07/21/2024
5.0.13 107 07/21/2024
5.0.12 120 07/21/2024
5.0.11 115 07/21/2024
5.0.10 118 07/21/2024
5.0.9 98 07/21/2024
5.0.8 107 07/21/2024
5.0.7 122 07/21/2024
5.0.6 123 07/21/2024
5.0.5 113 07/21/2024
5.0.4 115 07/21/2024
5.0.3 105 07/21/2024
5.0.2 106 07/21/2024
5.0.1 125 07/21/2024
5.0.0 117 07/21/2024
5.0.0-rc.2.20475.17 119 07/21/2024
5.0.0-rc.1.20451.17 113 07/21/2024
5.0.0-preview.8.20414.8 119 07/21/2024
5.0.0-preview.7.20365.19 91 07/21/2024
5.0.0-preview.6.20312.15 109 07/21/2024
5.0.0-preview.5.20279.2 103 07/21/2024
5.0.0-preview.4.20257.10 106 07/21/2024
5.0.0-preview.3.20215.14 101 07/21/2024
5.0.0-preview.2.20167.3 110 07/21/2024
5.0.0-preview.1.20124.5 115 07/21/2024
3.1.32 113 07/21/2024
3.1.31 108 07/21/2024
3.1.30 107 07/21/2024
3.1.29 115 07/21/2024
3.1.28 109 07/21/2024
3.1.27 117 07/21/2024
3.1.26 122 07/21/2024
3.1.25 117 07/21/2024
3.1.24 120 07/21/2024
3.1.23 96 07/21/2024
3.1.22 110 07/21/2024
3.1.21 110 07/21/2024
3.1.20 108 07/21/2024
3.1.19 107 07/21/2024
3.1.18 102 07/21/2024
3.1.17 107 07/21/2024
3.1.16 113 07/21/2024
3.1.15 123 07/21/2024
3.1.14 120 07/21/2024
3.1.13 101 07/21/2024
3.1.12 106 07/21/2024
3.1.11 110 07/21/2024
3.1.10 117 07/21/2024
3.1.9 101 07/21/2024
3.1.8 114 07/21/2024
3.1.7 117 07/21/2024
3.1.6 113 07/21/2024
3.1.5 121 07/21/2024
3.1.4 119 07/21/2024
3.1.3 125 07/21/2024
3.1.2 123 07/21/2024
3.1.1 108 07/21/2024
3.1.0 110 07/21/2024
3.1.0-preview3.19555.2 118 07/21/2024
3.1.0-preview2.19528.8 107 07/21/2024
3.1.0-preview1.19508.20 120 07/21/2024
3.0.3 117 07/21/2024
3.0.2 107 07/21/2024
3.0.0 116 07/21/2024
3.0.0-rc1.19457.4 112 07/21/2024
3.0.0-preview9.19424.4 120 07/21/2024
3.0.0-preview8.19405.7 112 07/21/2024
3.0.0-preview7.19365.7 122 07/21/2024
3.0.0-preview6.19307.2 112 07/21/2024
3.0.0-preview5-19227-01 109 07/21/2024
3.0.0-preview4-19216-03 109 07/21/2024
3.0.0-preview3-19153-02 108 07/21/2024
3.0.0-preview-19075-0444 121 07/21/2024
3.0.0-preview-18579-0056 109 07/21/2024
2.3.9 9 01/07/2026
2.3.8 10 01/07/2026
2.3.0 92 03/29/2025
2.2.2 110 07/21/2024
2.2.0 111 07/21/2024
2.2.0-preview3-35497 109 07/21/2024
2.2.0-preview2-35157 108 07/21/2024
2.2.0-preview1-35029 107 07/21/2024
2.1.8 113 07/21/2024
2.1.2 127 07/21/2024
2.1.1 104 07/21/2024
2.1.0 118 07/21/2024
2.1.0-rc1-final 115 07/21/2024
2.1.0-preview2-final 108 07/21/2024
2.1.0-preview1-final 100 07/21/2024
2.0.4 128 07/21/2024
2.0.3 102 07/21/2024
2.0.1 111 07/21/2024
2.0.0 121 07/21/2024
2.0.0-preview2-final 130 07/21/2024
2.0.0-preview1-final 106 07/21/2024
1.1.3 132 07/21/2024
1.1.2 107 07/21/2024
1.1.1 105 07/21/2024
1.1.0 112 07/21/2024
1.1.0-preview1-final 117 07/21/2024
1.0.5 124 07/21/2024
1.0.4 100 07/21/2024
1.0.3 108 07/21/2024
1.0.2 121 07/21/2024
1.0.1 106 07/21/2024
1.0.0 110 07/21/2024
1.0.0-rc2-final 106 07/21/2024