jaredhanson / passport-facebook

Facebook authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-facebook/?utm_source=github&utm_medium=referral&utm_campaign=passport-facebook&utm_content=about
MIT License
1.29k stars 447 forks source link

Added support for age range. #218

Open mhverbakel opened 7 years ago

mhverbakel commented 7 years ago

Fixes #217.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling b9da85ff1bd2dc0e49280527ffa8a40757029b22 on mhverbakel:master into 90a642b4738367f929fc2df05a1c3203cd7df38f on jaredhanson:master.

rwky commented 6 years ago

Merged in https://github.com/passport-next/passport-facebook

jaredhanson commented 5 years ago

Passport tries to keep profiles normalized to the Portable Contacts schema, or extensions to it such as OpenSocial. The simplifies integration of multiple social providers, by avoiding things that may be specific to an IdP like Facebook.

IdP-specific attributes are always available via profile._json. I'd consider merging this if there were a clear convention around age range support across IdPs.