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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Authentication.Google.
dotnet add package Microsoft.AspNetCore.Authentication.Google --version 10.0.0-preview.6.25358.103
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Google -Version 10.0.0-preview.6.25358.103
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="10.0.0-preview.6.25358.103" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="10.0.0-preview.6.25358.103" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authentication.Google --version 10.0.0-preview.6.25358.103
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Google, 10.0.0-preview.6.25358.103"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.AspNetCore.Authentication.Google@10.0.0-preview.6.25358.103
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Google&version=10.0.0-preview.6.25358.103&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Google&version=10.0.0-preview.6.25358.103&prerelease
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (136)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.Google:

Package Downloads
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.

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.

Abp.AspNetZeroCore.Web

Package Description

NanoCore

The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar.

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

GitHub repositories (70)

Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.Google:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
ivanpaulovich/clean-architecture-manga
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
davidfowl/TodoApp
Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
vietnam-devs/coolstore-microservices
A full-stack .NET microservices build on Dapr and Tye
aspnet-contrib/AspNet.Security.OAuth.Providers
OAuth 2.0 social authentication providers for ASP.NET Core
Squidex/squidex
Headless CMS and Content Managment Hub
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 20, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
aspnet/Identity
[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
servicetitan/Stl.Fusion
Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
ivaylokenov/MyTested.AspNetCore.Mvc
Fluent testing library for ASP.NET Core MVC.
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
xamarin/Essentials
Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
fullstackproltd/AspNetCoreSpa
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
Version Downloads Last Updated
10.0.0-preview.6.25358.103 460 7/15/2025
10.0.0-preview.5.25277.114 627 6/6/2025
10.0.0-preview.4.25258.110 958 5/12/2025
10.0.0-preview.3.25172.1 777 4/10/2025
10.0.0-preview.2.25164.1 30,619 3/18/2025
10.0.0-preview.1.25120.3 51,443 2/25/2025
9.0.8 1,219 8/5/2025
9.0.7 18,313 7/8/2025
9.0.6 69,149 6/10/2025
9.0.5 115,378 5/13/2025
9.0.4 121,620 4/8/2025
9.0.3 99,063 3/11/2025
9.0.2 158,510 2/11/2025
9.0.1 185,748 1/14/2025
9.0.0 206,142 11/12/2024
9.0.0-rc.2.24474.3 10,904 10/8/2024
9.0.0-rc.1.24452.1 4,140 9/10/2024
9.0.0-preview.7.24406.2 1,908 8/13/2024
9.0.0-preview.6.24328.4 98,455 7/9/2024
9.0.0-preview.5.24306.11 848 6/11/2024
9.0.0-preview.4.24267.6 807 5/21/2024
9.0.0-preview.3.24172.13 68,035 4/11/2024
9.0.0-preview.2.24128.4 858 3/12/2024
9.0.0-preview.1.24081.5 22,535 2/13/2024
8.0.19 460 8/4/2025
8.0.18 7,024 7/8/2025
8.0.17 24,209 6/10/2025
8.0.16 42,001 5/13/2025
8.0.15 69,059 4/8/2025
8.0.14 58,747 3/11/2025
8.0.13 57,959 2/11/2025
8.0.12 82,683 1/14/2025
8.0.11 327,147 11/12/2024
8.0.10 446,524 10/8/2024
8.0.8 533,774 8/13/2024
8.0.7 324,279 7/9/2024
8.0.6 325,456 5/28/2024
8.0.5 200,616 5/14/2024
8.0.4 318,216 4/9/2024
8.0.3 320,826 3/12/2024
8.0.2 326,530 2/13/2024
8.0.1 307,420 1/9/2024
8.0.0 779,873 11/14/2023
8.0.0-rc.2.23480.2 8,198 10/10/2023
8.0.0-rc.1.23421.29 3,000 9/12/2023
8.0.0-preview.7.23375.9 2,333 8/8/2023
8.0.0-preview.6.23329.11 2,663 7/11/2023
8.0.0-preview.5.23302.2 1,318 6/13/2023
8.0.0-preview.4.23260.4 255,988 5/16/2023
8.0.0-preview.3.23177.8 1,888 4/11/2023
8.0.0-preview.2.23153.2 88,803 3/14/2023
8.0.0-preview.1.23112.2 51,081 2/21/2023
7.0.20 57,298 5/28/2024
7.0.19 3,632 5/14/2024
7.0.18 7,391 4/9/2024
7.0.17 13,191 3/12/2024
7.0.16 21,014 2/13/2024
7.0.15 40,945 1/9/2024
7.0.14 97,904 11/14/2023
7.0.13 141,583 10/24/2023
7.0.12 63,932 10/10/2023
7.0.11 120,429 9/12/2023
7.0.10 193,787 8/8/2023
7.0.9 139,232 7/11/2023
7.0.8 100,877 6/22/2023
7.0.7 38,979 6/13/2023
7.0.5 491,383 4/11/2023
7.0.4 123,131 3/14/2023
7.0.3 138,633 2/14/2023
7.0.2 177,556 1/10/2023
7.0.1 78,896 12/13/2022
7.0.0 335,673 11/7/2022
7.0.0-rc.2.22476.2 3,394 10/11/2022
7.0.0-rc.1.22427.2 67,417 9/14/2022
7.0.0-preview.7.22376.6 1,135 8/9/2022
7.0.0-preview.6.22330.3 838 7/12/2022
7.0.0-preview.5.22303.8 1,048 6/14/2022
7.0.0-preview.4.22251.1 4,493 5/10/2022
7.0.0-preview.3.22178.4 1,089 4/13/2022
7.0.0-preview.2.22153.2 642 3/14/2022
7.0.0-preview.1.22109.13 656 2/17/2022
6.0.36 30,399 11/12/2024
6.0.35 9,647 10/8/2024
6.0.33 19,001 8/13/2024
6.0.32 17,637 7/9/2024
6.0.31 16,882 5/28/2024
6.0.30 24,385 5/14/2024
6.0.29 16,503 4/9/2024
6.0.28 19,538 3/12/2024
6.0.27 21,466 2/13/2024
6.0.26 54,556 1/9/2024
6.0.25 63,655 11/14/2023
6.0.24 122,486 10/24/2023
6.0.23 22,361 10/10/2023
6.0.22 71,625 9/12/2023
6.0.21 106,134 8/8/2023
6.0.20 56,019 7/11/2023
6.0.19 48,474 6/22/2023
6.0.18 29,862 6/13/2023
6.0.16 195,722 4/11/2023
6.0.15 85,506 3/14/2023
6.0.14 76,713 2/14/2023
6.0.13 260,166 1/10/2023
6.0.12 89,671 12/13/2022
6.0.11 240,871 11/7/2022
6.0.10 326,701 10/11/2022
6.0.9 190,922 9/13/2022
6.0.8 343,412 8/9/2022
6.0.7 783,374 7/12/2022
6.0.6 278,464 6/14/2022
6.0.5 1,310,005 5/10/2022
6.0.4 304,930 4/11/2022
6.0.3 221,579 3/8/2022
6.0.2 228,480 2/8/2022
6.0.1 985,143 12/14/2021
6.0.0 816,250 11/8/2021
6.0.0-rc.2.21480.10 5,759 10/12/2021
6.0.0-rc.1.21452.15 5,063 9/14/2021
6.0.0-preview.7.21378.6 2,825 8/10/2021
6.0.0-preview.6.21355.2 1,694 7/14/2021
6.0.0-preview.5.21301.17 1,384 6/15/2021
6.0.0-preview.4.21253.5 1,154 5/24/2021
6.0.0-preview.3.21201.13 1,068 4/8/2021
6.0.0-preview.2.21154.6 949 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 2,134 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 161,242 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 32,106 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 38,019 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 42,994 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 80,452 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 59,001 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 137,328 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 151,744 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 142,931 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 160,349 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 236,164 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 154,453 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 203,481 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 183,069 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 141,123 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 125,823 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 151,336 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 464,690 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 2,611 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 3,694 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 1,389 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,634 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 1,305 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 866 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 958 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 1,845 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 919 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 917 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 47,654 12/13/2022
3.1.31 12,715 11/8/2022
3.1.30 6,286 10/11/2022
3.1.29 7,033 9/13/2022
3.1.28 12,072 8/9/2022
3.1.27 12,236 7/12/2022
3.1.26 15,448 6/14/2022
3.1.25 14,932 5/10/2022
3.1.24 8,468 4/11/2022
3.1.23 25,522 3/8/2022
3.1.22 40,851 12/14/2021
3.1.21 31,588 11/7/2021
3.1.20 49,614 10/11/2021
3.1.19 34,821 9/14/2021
3.1.18 121,305 8/10/2021
3.1.17 57,748 7/13/2021
3.1.16 82,641 6/8/2021
3.1.15 29,495 5/11/2021
3.1.14 104,801 4/6/2021
3.1.13 106,660 3/9/2021
3.1.12 72,062 2/9/2021
3.1.11 155,445 1/12/2021
3.1.10 279,961 11/9/2020
3.1.9 250,593 10/13/2020
3.1.8 325,205 9/8/2020
3.1.7 153,904 8/11/2020
3.1.6 192,838 7/14/2020
3.1.5 616,992 6/9/2020
3.1.4 196,878 5/12/2020
3.1.3 456,281 3/24/2020
3.1.2 269,448 2/18/2020
3.1.1 223,924 1/14/2020
3.1.0 337,824 12/3/2019
3.1.0-preview3.19555.2 1,191 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 838 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 1,065 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 15,347 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,998 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 875,630 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 2,647 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 2,183 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 5,152 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 2,655 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 3,276 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 2,926 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 2,186 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,752 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,083 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,410 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 292 1/14/2025
2.2.2 9,663,687 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.0 11,051,015 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 63,743 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 6,271 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,615 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.8 4,647,997 2/12/2019
2.1.2 9,074,389 8/21/2018
2.1.1 11,240,847 6/18/2018
2.1.0 3,482,292 5/29/2018
2.1.0-rc1-final 19,792 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,202 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,762 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 3,806,711 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 3,462,846 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 5,332,492 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,436,855 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 56,572 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 22,613 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 11,725 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 121,811 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 144,590 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 118,451 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 4,249 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 4,943 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 3,536 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,664 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 15,329 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 8,355 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 167,828 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 6,568 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.