Group Avatar returns 401 after SAML activation

Summary

After we activated SAML the URL for our group avatar is returning 401 and therefore not loading. https://assets.gitlab-static.net/uploads/-/system/group/avatar/3035310/34633236_2373366672677316_3001410991410905088_n.png?width=38

On the users group dashboard view the avatar is shown but loaded from a different URL https://gitlab.com/uploads/-/system/group/avatar/3035310/34633236_2373366672677316_3001410991410905088_n.png

Reuploading the avatar did not help.

Steps to reproduce

  • Create a root group
  • Upload an avatar
  • Activate SAML with enforced SSO

Example Project

You can check our company group: https://gitlab.my.salesforce.com/0064M00000XYT8k

What is the current bug behavior?

  • Avatar is not shown on group level
  • Requesting avatar ends in 401 response

What is the expected correct behavior?

  • Avatar is shown on group level
  • Request return 200 and avatar

Relevant logs and/or screenshots

Group view: image

Dashboard view: image

Output of checks

This bug happens on GitLab.com