Rocket.chat: Admin options for default avatar (if available)

Created on 12 Jan 2016  Â·  13Comments  Â·  Source: RocketChat/Rocket.Chat

When someone creates a new account, especially via OAuth, they often have an avatar but RC defaults to their initials as an avatar. Proposing an option in the Admin section to over-ride that if Gravatar or something else finds a match.

Request accounts app settings

Most helpful comment

Two thoughts here:

  1. If the OAuth profile returns an avatar field that includes a URL, download and use that.
  2. Else, look for a gravatar and use that.

Many OAuth server implementations include additional data (such as an avatar URL) in their profile response.

All 13 comments

:+1:

Gravatar is a good idea

I would also like this feature

Gravatar can be a good idea, but the OAuth providers can also be in this list

The suggestion was not to limit what is already there but have an "if
gravatar exists" use that by default rather than the letters. Could use
any avatar that exists at all (Facebook, etc.) before using the letters as
an "only if no avatar exists" as the default behavior. People can disable
the avatar for letters by choice though.

On Thu, Mar 24, 2016 at 4:15 PM, Gal Schlezinger [email protected]
wrote:

Gravatar can be a good idea, but the OAuth providers can also be in this
list

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/RocketChat/Rocket.Chat/issues/1870#issuecomment-200748885

As requested in #3175, also suggest username from the OAuth account.

Perhaps it is worth supporting OpenID Connect as a part of this, in order to have a common place from which to derive credentials?

Two thoughts here:

  1. If the OAuth profile returns an avatar field that includes a URL, download and use that.
  2. Else, look for a gravatar and use that.

Many OAuth server implementations include additional data (such as an avatar URL) in their profile response.

It would be good to have a setting to use full name instead of the username for the avatar initials

Any hope to have it? I think that have gravatar as default can improve the UX

@marceloschmidt is working on this right now.

@engelgabriel will #5045 also be merged at some point as part of this, as this will be more useful than username for us

it will eventually. We still need to finishing some some work on the caching layer before it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djeber picture djeber  Â·  3Comments

royalaid picture royalaid  Â·  3Comments

sta-szek picture sta-szek  Â·  3Comments

karlprieb picture karlprieb  Â·  3Comments

Buzzele picture Buzzele  Â·  3Comments