diff --git a/aspnetcore/security/authentication/social/google-logins.md b/aspnetcore/security/authentication/social/google-logins.md index afd73c30c4..2cdd164d1c 100644 --- a/aspnetcore/security/authentication/social/google-logins.md +++ b/aspnetcore/security/authentication/social/google-logins.md @@ -82,13 +82,6 @@ The values for these tokens can be found in the JSON file downloaded in the prev ## Configure Google Authentication -The project template used in this tutorial ensures that [Microsoft.AspNetCore.Authentication.Google](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Google) package is installed. - - * To install this package with Visual Studio 2017, right-click on the project and select **Manage NuGet Packages**. - * To install with .NET Core CLI, execute the following in your project directory: - - `dotnet add package Microsoft.AspNetCore.Authentication.Google` - # [ASP.NET Core 2.x](#tab/aspnetcore2x) Add the Google service in the `ConfigureServices` method in *Startup.cs* file: @@ -109,6 +102,13 @@ services.AddAuthentication().AddGoogle(googleOptions => # [ASP.NET Core 1.x](#tab/aspnetcore1x) +The project template used in this tutorial ensures that [Microsoft.AspNetCore.Authentication.Google](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Google) package is installed. + + * To install this package with Visual Studio 2017, right-click on the project and select **Manage NuGet Packages**. + * To install with .NET Core CLI, execute the following in your project directory: + + `dotnet add package Microsoft.AspNetCore.Authentication.Google` + Add the Google middleware in the `Configure` method in *Startup.cs* file: ```csharp