ably-labs / fully-featured-scalable-chat-app

An example of how to architect a fully featured, scalable chat app. With user and channel management and message history.
https://ffs-chat.ably.dev/
Apache License 2.0
64 stars 12 forks source link

Add email field & Gravatar url #58

Closed marcduiker closed 2 years ago

marcduiker commented 2 years ago

In order for Gravatar to work an email address is required.

In case the user registers a new account, Gravatar is used (incl a fallback to a random image from blob storage). In case the user registers via Auth0 and Google is used, the Google profile image is used.

The default image size from Gravatar/Google is rather small (80-90 pixels) therefore two new image properties are introduced. One with a small profile image, to be used in the chat, and one with a large profile image, to be used in the profile details.

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net

fliptopbox commented 2 years ago

Do we have a primary key constraint for our data? i ask coz currently it looks like a user can use the same email address for multiple user accounts.

github-actions[bot] commented 2 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-dune-0fec87f03-58.westeurope.azurestaticapps.net