AmplicaLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
0 stars 2 forks source link

[bug] logout/login as different user does not update app state correctly #57

Open JoeCap08055 opened 1 month ago

JoeCap08055 commented 1 month ago

Description

If logged in to the SAT Frontend, then logout & login as a different user, the app does not refresh correctly for the new logged-in user.

Scenario/How to Reproduce

  1. Log in as user A (here "Foo")
  2. Log out
  3. Log in as user B (here "Bar")

Expected Results

When logging in as a different user, the UI should reflect the current logged-in user expect screen to look similar to this: image

Actual Results

When logging in as a different user, part of the UI shows the correct logged-in user, and part of the UI is for the previous logged-in user. (See image below: previous logged-in user was "Foo"; current logged-in user is "Bar")

image