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
We are already retrieving email, first name, last name from google.
We could also retrieve profile picture.
The profile picture will come as an URL, if we store it directly in our DB this won't work because we are currently storing relative path to our own storage in backend
I see two alternatives:
enable to store absolute path in back-end, in this case, we need to introduce a picture table with type 'absolute' | 'relative' and link it to workspace / user. We then need to update frontend accordingly or have the server always send the absolute URL
fetch the Image URL and re-upload the image in our own backend.
Bonapara
changed the title
[T-328] I have a full name and profile picture pulled through Google
I have a full name and profile picture pulled through Google
Jun 7, 2023
charlesBochet
changed the title
I have a full name and profile picture pulled through Google
When I sign up through Google, I see my Google profile picture on Twenty
Jul 12, 2023
We are already retrieving email, first name, last name from google.
We could also retrieve profile picture.
The profile picture will come as an URL, if we store it directly in our DB this won't work because we are currently storing relative path to our own storage in backend
I see two alternatives:
To keep it simple, I would go for the second option :
https://stackoverflow.com/questions/18264346/how-to-load-an-image-from-url-into-buffer-in-nodejs
The text was updated successfully, but these errors were encountered: