Assent v0.1.8 Assent.Strategy.Facebook View Source
Facebook OAuth 2.0 strategy.
The Facebook user endpoint does not provide data on email verification, email is considered unverified. More here: https://developers.facebook.com/docs/facebook-login/multiple-providers#postfb1
Configuration
:user_url_request_fields
- The fields for the resource, defaults toemail,name,first_name,last_name,middle_name,link
See Assent.Strategy.OAuth2
for more.
Usage
config = [
client_id: "REPLACE_WITH_CLIENT_ID",
client_secret: "REPLACE_WITH_CLIENT_SECRET"
]
See Assent.Strategy.OAuth2
for more.