filmov
tv
How to add Google Sign in using angular | Lazy Loading Single Sign On | Angular tutorial
Показать описание
handling backend authorization of recaptcha:
Google Developer Console:
HTML code snippet:
meta name="" content="// your client ID"
div class="g-signin2" data-onsuccess="onSignIn" /div
data object from Google on successful sign in:
{
Bd: "John Doe", // full name
sW: "John", // first name
tU: "Doe" // last name
SK: "**address**" // image link of the user
}
to get data from profile, use this:
now to get user attributes, use this:
etc.
for full list of functions see this link:
For complete tutorial from beginning refer following playlists
Check out other videos on our channel & Don’t forget to subscribe.
Google Developer Console:
HTML code snippet:
meta name="" content="// your client ID"
div class="g-signin2" data-onsuccess="onSignIn" /div
data object from Google on successful sign in:
{
Bd: "John Doe", // full name
sW: "John", // first name
tU: "Doe" // last name
SK: "**address**" // image link of the user
}
to get data from profile, use this:
now to get user attributes, use this:
etc.
for full list of functions see this link:
For complete tutorial from beginning refer following playlists
Check out other videos on our channel & Don’t forget to subscribe.
Комментарии