-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OmniAuth hardcoded info_fields #223
Comments
I'm having similar problem. I have custom omniauth gem which requires additional params to be passed (scope, base_uri) when we setup |
you can override by creating a decorator as defined here: ie:
I know it's not a definitive solution, I agree it should be dynamic, but it should work for now. |
When using Facebook as OmniAuth provider, I want to retrieve
first_name
andlast_name
instead ofname
. The problem is located here whereinfo_fields
value is hardcoded to'email, name'
instead of being extendable (in my case to'email, first_name, last_name'
). Is there any reason why you hardcoded this? Also, is there any way to properly override this module method?The text was updated successfully, but these errors were encountered: