Skip to content

Commit 447e4c5

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

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,6 @@ Store sensitive settings such as the Google client ID and secret values with [Se
5151
5252
You can manage your API credentials and usage in the [API Console](https://console.developers.google.com/apis/dashboard).
5353
54-
## Sign in with Google `Google.Apis.Auth.AspNetCore3` version
55-
56-
* Run the app and select **Log in**. An option to sign in with Google appears.
57-
* Select the **Google** button, which redirects to Google for authentication.
58-
* After entering your Google credentials, you are redirected back to the web site.
59-
60-
[!INCLUDE[Forward request information when behind a proxy or load balancer section](includes/forwarded-headers-middleware.md)]
61-
62-
[!INCLUDE[](includes/chain-auth-providers.md)]
63-
64-
For more information on configuration options supported by Google authentication, see the <xref:Microsoft.AspNetCore.Authentication.Google.GoogleOptions> API reference . This can be used to request different information about the user.
65-
6654
## Configure Google authentication
6755
6856
Add the [`Google.Apis.Auth.AspNetCore3`](https://www.nuget.org/packages/Google.Apis.Auth.AspNetCore3) NuGet package to the app.
@@ -87,6 +75,8 @@ Follow this link [`Add Authtication for asp.net app`](https://developers.google.
8775
8876
For more information on configuration options supported by Google authentication, see the <xref:Microsoft.AspNetCore.Authentication.Google.GoogleOptions> API reference . This can be used to request different information about the user.
8977
78+
[!INCLUDE[Forward request information when behind a proxy or load balancer section](includes/forwarded-headers-middleware.md)]
79+
9080
## Change the default callback URI
9181
9282
The URI segment `/signin-google` is set as the default callback of the Google authentication provider. You can change the default callback URI while configuring the Google authentication middleware via the inherited <xref:Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions.CallbackPath?displayProperty=nameWithType> property of the <xref:Microsoft.AspNetCore.Authentication.Google.GoogleOptions> class.

0 commit comments

Comments
 (0)