From d62d497f0600b5aa95c033144b8e75f243d6038b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tesa=C5=99?= <33880579+tesar-tech@users.noreply.github.com> Date: Fri, 26 Dec 2025 21:32:55 +0000 Subject: [PATCH] Update Google authentication setup instructions (#36545) * Update Google authentication setup instructions Added instructions to install Google authentication package * Update Google login tutorial with new date and command Updated the date and improved the package installation command formatting. package and add command were reversed. --------- Co-authored-by: Wade Pickett --- .../security/authentication/social/google-logins.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/aspnetcore/security/authentication/social/google-logins.md b/aspnetcore/security/authentication/social/google-logins.md index f6cf3cc2ad8e..1b2776c1bdae 100644 --- a/aspnetcore/security/authentication/social/google-logins.md +++ b/aspnetcore/security/authentication/social/google-logins.md @@ -4,7 +4,7 @@ author: wadepickett description: This tutorial demonstrates the integration of Google account user authentication into an existing ASP.NET Core app. ms.author: wpickett ms.custom: mvc -ms.date: 06/18/2025 +ms.date: 12/26/2025 uid: security/authentication/google-logins --- # Google external login setup in ASP.NET Core @@ -71,6 +71,12 @@ Manage API credentials and usage in the [API Console](https://console.developers ## Configure Google authentication +Add the [`Microsoft.AspNetCore.Authentication.Google`](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Google) nuget package: + +```dotnetcli +dotnet add package Microsoft.AspNetCore.Authentication.Google +``` + :::moniker range=">= aspnetcore-6.0" Add the authentication service to the `Program` file: