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

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -