Skip to content

Google Picture Url #1

@benfoster

Description

@benfoster

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()
      };

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions