-
Notifications
You must be signed in to change notification settings - Fork 608
Cannot load avatars from GitHub Enterprise URLs #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah, enterprise avatars. There's some scenarios where retrieving avatars from enterprise will always fail regardless of authentication, and others where it will potentially spam the enterprise instance repeatedly if there are a lot of avatars to load - enterprise has a very short cache time for avatars (so they'll update quickly when you change them), which is a problem for clients loading them without caching. GitHub Desktop has some workarounds for this in https://github.com/desktop/desktop/blob/master/app/src/lib/gravatar.ts and related calls. |
Personally, I would even prefer not showing an avatar at all if it's not possible to load the actual one. This placeholder is not very pretty. |
This is still occuring for me in Nightly, several years later? Based on #1148, it looks like VScode shouldn't even be attempting to load an avatar — and yet it still is: |
Steps to Reproduce:
Screenshot:
This is likely because the
user.avatar_url
is used without authentication.The text was updated successfully, but these errors were encountered: