You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/security/authentication/social/google-logins.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This tutorial shows you how to enable users to sign in with their Google account
19
19
* Go to [Google API & Services](https://console.cloud.google.com/apis).
20
20
* A **Project** must exist first, you may have to create one. Once a project is selected, enter the **Dashboard**.
21
21
22
-
* In the **Oauth consent screen** of the **Dashboard**:
22
+
* In the **OAuth consent screen** of the **Dashboard**:
23
23
* Select **User Type - External** and **CREATE**.
24
24
* In the **App information** dialog, Provide an **app name** for the app, **user support email**, and **developer contact information**.
25
25
* Step through the **Scopes** step.
@@ -55,14 +55,14 @@ You can manage your API credentials and usage in the [API Console](https://conso
55
55
56
56
* Add the [`Google.Apis.Auth.AspNetCore3`](https://www.nuget.org/packages/Google.Apis.Auth.AspNetCore3) NuGet package to the app.
57
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)
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)
* 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.
66
66
* Create a controller and action that takes one argument `string credential`, which is returned by Google upon completing the login process.
67
67
* Verify the `credential` using the following line of code:
0 commit comments