SimpleSocialAuth
SimpleSocialAuth copied to clipboard
Google Picture Url
As per http://code.google.com/apis/accounts/docs/OAuth2Login.html#userinfocall the "picture" field is not included in the response if a picture does not exist.
The current GoogleHandler will therefore throw if a picture doesn't exist.
return
new BasicUserData
{
UserId = jsonObject["id"].ToString(),
UserName = jsonObject["name"].ToString(),
PictureUrl = jsonObject["picture"].ToString()
};
Obviously a bug. I'll fix it asap. Thanks.