When authenticating using a third-party service such as Facebook or Twitter, user profile information will often be available. Each service tends to have a different way of encoding this information. To make integration easier, Passport normalizes profile information to the extent possible.
Normalized profile information conforms to the contact schema established by Portable Contacts. The common fields available are outlined in the following table.
provider {String}facebook, twitter, etc.).id {String}displayName {String}name {Object}familyName {String}givenName {String}middleName {String}emails {Array} [n]value {String}type {String}photos {Array} [n]value {String}Note that not all of the above fields are available from every service provider. Some providers may contain additional information not described here. Consult the provider-specific documentation for further details.