# Is it possible to "hotlink" SSO avatars?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232>\
**Category:** SSO\
**Created:** [14 Mayo, 2016 10:44 UTC](https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232 "2016-05-14T10:44:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [21 Mayo, 2016 06:59 UTC](https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232/5 "2016-05-21T06:59:58Z")

</div>

You can also use the external system avatar functionality.

> <https://github.com/discourse/discourse/blob/74b3807f60fb63bb02230f2722fbfb984cde7327/app/models/user.rb#L523-L527>

`color` becomes a rudimentary hash of the username, so just plug this in for the site setting:

```
https://yoursite.com/avatar/discourse?h={color}

```

(this will not work for hosted Discourses, interestingly, as that setting is set as a global override at the current time)

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-hotlink-sso-avatars/44232)._
