Project

General

Profile

Actions

dev #3165

open

dev #3164: Security Issue Fixing

[FE/BE] [ST-014] Google sign-in/up Profile picture not updating across browsers after change

Added by Ayat Rahman 7 months ago. Updated 7 months ago.

Status:
Complete
Priority:
High
Assignee:
Target version:
Start date:
09/10/2025
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Issue Summary

When updating a profile picture in one browser, the change does not reflect in another browser session.


Steps to Reproduce

  1. Sign in with your account in two different browsers.
  2. Change the profile picture in one browser.
  3. Refresh both browsers.

Expected Result

Both browsers should display the updated profile picture.


Actual Result

The second browser does not update the profile picture icon.


Root Cause

  • Old profile images for users were being reused whenever logging in via Google.
  • Frontend was not properly syncing user information in Redux when validating tokens.
  • Dashboard navbar was displaying an outdated avatar due to stale user data.

Fix Implemented

  • Prevented re-using old profile images when users log in with Google.
  • Updated AuthContext to refresh Redux user info whenever token validation is performed.
  • Fixed dashboard navbar to correctly display the current user avatar.

Would you like me to also create a Redmine changelog/release note entry version (short, concise for end users), or just keep this as a full developer-focused issue description?

Actions

Also available in: Atom PDF