Actions
dev #3165
opendev #3164: Security Issue Fixing
[FE/BE] [ST-014] Google sign-in/up Profile picture not updating across browsers after change
Description
Issue Summary¶
When updating a profile picture in one browser, the change does not reflect in another browser session.
Steps to Reproduce¶
- Sign in with your account in two different browsers.
- Change the profile picture in one browser.
- 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