Skip to content

Commit f8b04ef

Browse files
Typos, readability (#34887)
* Typos, readability * Update aspnetcore/security/authentication/social/google-logins.md --------- Co-authored-by: Rick Anderson <[email protected]>
1 parent 4270f47 commit f8b04ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This tutorial shows you how to enable users to sign in with their Google account
1919
* Go to [Google API & Services](https://console.cloud.google.com/apis).
2020
* A **Project** must exist first, you may have to create one. Once a project is selected, enter the **Dashboard**.
2121

22-
* In the **Oauth consent screen** of the **Dashboard**:
22+
* In the **OAuth consent screen** of the **Dashboard**:
2323
* Select **User Type - External** and **CREATE**.
2424
* In the **App information** dialog, Provide an **app name** for the app, **user support email**, and **developer contact information**.
2525
* Step through the **Scopes** step.
@@ -55,14 +55,14 @@ You can manage your API credentials and usage in the [API Console](https://conso
5555
5656
* Add the [`Google.Apis.Auth.AspNetCore3`](https://www.nuget.org/packages/Google.Apis.Auth.AspNetCore3) NuGet package to the app.
5757
* 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)
58+
* Follow [`Add Authentication for asp.net app`](https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth#configure-your-application-to-use-google.apis.auth.aspnetcore3)
5959
6060
[!INCLUDE [default settings configuration](includes/default-settings2-2.md)]
6161
6262
## Sign in with Google
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.
64-
* Then go to [google developer button genration ](https://developers.google.com/identity/gsi/web/tools/configurator)
65-
* Setup your Controller to match with ` data-login_uri="{HostName}/{ControllerName}/{actionName}" ` attrbute because after success login it will forward you to that link.
63+
* Get a link to the library at [Google Developer Library](https://developers.google.com/identity/gsi/web/guides/client-library).
64+
* Then go to [Google Developer Button Generation](https://developers.google.com/identity/gsi/web/tools/configurator).
65+
* Setup your Controller to match the `data-login_uri="{HostName}/{ControllerName}/{actionName}"` attribute, as it will forward you to that link after a successful login.
6666
* Create a controller and action that takes one argument `string credential`, which is returned by Google upon completing the login process.
6767
* Verify the `credential` using the following line of code:
6868
`GoogleJsonWebSignature.Payload payload = await GoogleJsonWebSignature.ValidateAsync(credential);`

0 commit comments

Comments
 (0)