New Suggestion
Expected Behavior
When a user's meta-data is updated via the backend or API, the segment should be updated immediately on both the Sleekplan admin dashboard and the frontend, allowing the user to see any associated updates (such as new categories assigned to the segment) without needing to log out and log in again.
Current Behavior
When a user's meta-data is updated via the backend or API, the segment is updated only on the Sleekplan admin dashboard. On the frontend, the user can only see the changes (e.g., new categories assigned to their segment) after logging out and logging in again. However, updating the user's meta-data through the SSO token payload works correctly, reflecting changes immediately on both the admin dashboard and the frontend.
Possible Solution
Ensure that updating a user's meta-data via the backend or API triggers the same real-time update mechanism as updating through the SSO token payload, so that the changes are reflected immediately on the frontend without requiring the user to log out and log in again.
Steps to Reproduce
Merged this post into: