You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google and Github Oauth2 allow us to get basic information about the user.
We are currently only saving in our Postgres person database the email of the user:
We want now to be able to save the profile image of the user.
With Google the image url is already returned via ElixirAuthGoogle package under the picture value:
Google and Github Oauth2 allow us to get basic information about the user.
We are currently only saving in our Postgres
person
database the email of the user:auth-mvp/lib/auth_mvp/people/person.ex
Lines 8 to 14 in 3579966
We want now to be able to save the profile image of the user.
With Google the image url is already returned via ElixirAuthGoogle package under the
picture
value:auth-mvp/lib/auth_mvp_web/controllers/google_auth_controller.ex
Line 9 in 3579966
With Github the value to get will be saved under
avatar_url
avatar
string fieldavatar
field in the databasecast
the avatar value:The text was updated successfully, but these errors were encountered: