# Gitlab profile picture not shown on mattermost user profile after gitlab authentication for mattermost

**URL:** https://forum.mattermost.com/t/gitlab-profile-picture-not-shown-on-mattermost-user-profile-after-gitlab-authentication-for-mattermost/14228
**Category:** Troubleshooting
**Created:** [October 12, 2022, 6:25am UTC](https://forum.mattermost.com/t/gitlab-profile-picture-not-shown-on-mattermost-user-profile-after-gitlab-authentication-for-mattermost/14228 "2022-10-12T06:25:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![manzoor77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/manzoor77/32/5894_2.png) [@manzoor77](https://forum.mattermost.com/u/manzoor77)
#### Post date: [October 12, 2022, 6:25am UTC](https://forum.mattermost.com/t/gitlab-profile-picture-not-shown-on-mattermost-user-profile-after-gitlab-authentication-for-mattermost/14228/1 "2022-10-12T06:25:11Z")

</div>

@agriesser @agnivade @AshishDhama I hope you are good and doing well. I have enable gitlab login authentication for mattermost login by following given guidelines of mattermost ( [GitLab Single Sign-On — Mattermost documentation](https://docs.mattermost.com/onboard/sso-gitlab.html) ). It works fine. But now I want when a user login on mattermost via gitlab authentication then profile picture of that user on gitlab will also update on mattermost. but unfortunately I didn’t succeed. Can you guide me how we can achieve it? I will be thankful to you for your support.

---

<div class="post-metadata">

### Author: ![manzoor77](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/manzoor77/32/5894_2.png) [@manzoor77](https://forum.mattermost.com/u/manzoor77)
#### Post date: [October 17, 2022, 6:19am UTC](https://forum.mattermost.com/t/gitlab-profile-picture-not-shown-on-mattermost-user-profile-after-gitlab-authentication-for-mattermost/14228/2 "2022-10-17T06:19:06Z")

</div>

@amy.blais Can you guide about it. I shall be very thankful to you.

---

<div class="post-metadata">

### Author: ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)
#### Post date: [October 20, 2022, 5:48pm UTC](https://forum.mattermost.com/t/gitlab-profile-picture-not-shown-on-mattermost-user-profile-after-gitlab-authentication-for-mattermost/14228/3 "2022-10-20T17:48:04Z")

</div>

Hi manzoor77,

I’m not sure if this is possible at the moment, I did read through the configuration options and only found a way to “sync” the profile pictures from an Active Directory/LDAP source.  
I’m not familiar with GitLab on that level, so I’m not sure if they would support pulling the profile pictures using an API, if they do, you could then in turn use a small tool to set the profile pictures for your accounts using the [Mattermost API call SetProfileImage](https://api.mattermost.com/#tag/users/operation/SetProfileImage).
