Registeration using Gmail account in asp.net javascript -
i need website users use gmail account register site. , need implement using javascript. can't user server side code purpose.
is there can guide me how can this.
thanks in advance
you use oauth 2. google has detailed documentation how register relying party , use authorization code grant profile.
google documentation integrating client side javascript application available here: https://developers.google.com/accounts/docs/oauth2useragent
go through documentation , if have specific questions implementation don't hesitate come back, show progress , explain dofficulties have encountered.
once receive access_token in fragment portion of url, query other google services token. depending on scopes user granted when authenticated, able access different services , level of information user.
Comments
Post a Comment