-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
how to get first name and last name of user #953
Comments
Auth provider provides
|
You can also just remove the |
@lynndylanhurley it will automatically work? that would be really nice. if i keep the Thanks! |
I don't think it will automatically work @anklos , I think you have to override some of the create user methods. Feel free to reopen if you need help with that. |
Hi there,
this gem seems only retrieves
name
field from auth provider, rather thanfirst_name
andlast_name
: https://github.com/lynndylanhurley/devise_token_auth/blob/master/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb#L84Is there a way to get
first_name
andlast_name
by using this gem?Thanks!
The text was updated successfully, but these errors were encountered: