Skip to content

Commit bfaf54d

Browse files
Update google-logins.md
1 parent 447e4c5 commit bfaf54d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

aspnetcore/security/authentication/social/google-logins.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ You can manage your API credentials and usage in the [API Console](https://conso
5353
5454
## Configure Google authentication
5555
56-
Add the [`Google.Apis.Auth.AspNetCore3`](https://www.nuget.org/packages/Google.Apis.Auth.AspNetCore3) NuGet package to the app.
57-
58-
59-
Add the Authentication service to the `program.cs`:
60-
61-
Follow this link [`Add Authtication for asp.net app`](https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#configure-your-application-to-use-google.apis.auth.aspnetcore3)
56+
* Add the [`Google.Apis.Auth.AspNetCore3`](https://www.nuget.org/packages/Google.Apis.Auth.AspNetCore3) NuGet package to the app.
57+
* Add the Authentication service to the `program.cs`:
58+
* Follow [`Add Authtication for asp.net app`](https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#configure-your-application-to-use-google.apis.auth.aspnetcore3)
6259
6360
[!INCLUDE [default settings configuration](includes/default-settings2-2.md)]
6461
6562
## Sign in with Google
66-
* Go to [google developer library link ](https://developers.google.com/identity/gsi/web/guides/client-library) to get link of library.
63+
* Get a link to the libary at [google developer library link ](https://developers.google.com/identity/gsi/web/guides/client-library) to get link of library.
6764
* Then go to [google developer button genration ](https://developers.google.com/identity/gsi/web/tools/configurator)
6865
* Setup your Controller to match with ` data-login_uri="{HostName}/{ControllerName}/{actionName}" ` attrbute because after success login it will forward you to that link.
6966
* Create controller and action takes one argement `string credential` because that what google return when complete login process.

0 commit comments

Comments
 (0)