...
Code Block | ||
---|---|---|
| ||
var scopes = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email'; var client = $Rest.Create('https://www.googleapis.com/oauth2/v2/userinfo'); if ( client.Authenticate('Google',scopes, $Initiator) ) { var userInfo = client.ExecuteJson(); } |