# תמונת המשתמש לא מתעדכנת בכניסה מחדש

**URL:** https://meta.discourse.org/t/user-avatar-not-updating-on-re-log-in/268071
**Category:** SSO
**Tags:** oauth2
**Created:** [12 ביוני,‏ 2023,‏ 4:57pm UTC](https://meta.discourse.org/t/user-avatar-not-updating-on-re-log-in/268071 "2023-06-12T16:57:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Headless](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/headless/32/183495_2.png) [@Headless](https://meta.discourse.org/u/Headless)
#### Post date: [12 ביוני,‏ 2023,‏ 4:57pm UTC](https://meta.discourse.org/t/user-avatar-not-updating-on-re-log-in/268071/1 "2023-06-12T16:57:40Z")

</div>

So I currently forked the basic oauth 2 plugin to get my avatars working. It has to fetch another url, but this is besides my point for this post.

On first register with a OAuth account it properly assigns the image. However, if I log out and then re-log back in, the image does not get updated. I am inexperienced with ruby and have done what I could to get the images working in my fork. But how can I get the image to update every log-in?

This is my fork: [GitHub - Djboy08/discourse-oauth2-roblox: A basic OAuth2 plugin for use with Discourse · GitHub](https://github.com/Djboy08/discourse-oauth2-basic)
