external - rails sorcery user_mapping possible values -
i'm using sorcery gem in rails , know possible values user_info_mapping facebook.
config.facebook.user_info_mapping = {}
thanks!
it expects hash, where
- keys symbols of attributes in
user
(or whatever) model (like:email
) - values names of attributes received facebook, documented here (like
"name"
).
example here.
Comments
Post a Comment