Skip to content

Commit c080f24

Browse files
Update aspnetcore/security/authentication/social/google-logins.md
Co-authored-by: Wade Pickett <[email protected]>
1 parent 899f90a commit c080f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can manage your API credentials and usage in the [API Console](https://conso
6464
* Then go to [google developer button genration ](https://developers.google.com/identity/gsi/web/tools/configurator)
6565
* Setup your Controller to match with ` data-login_uri="{HostName}/{ControllerName}/{actionName}" ` attrbute because after success login it will forward you to that link.
6666
* Create a controller and action that takes one argument `string credential`, which is returned by Google upon completing the login process.
67-
* Verify `credential` by using this line of code
67+
* Verify the `credential` using the following line of code:
6868
`GoogleJsonWebSignature.Payload payload = await GoogleJsonWebSignature.ValidateAsync(credential);`
6969
* Here you get all information about login user you can store it in database.
7070

0 commit comments

Comments
 (0)