SSWConsulting / SSW.Rules

Generator for ssw.com.au/rules
https://www.ssw.com.au/rules
MIT License
13 stars 13 forks source link

🐛 Bug - Auth status hasn't been updated after logging in #1359

Open Aibono1225 opened 4 months ago

Aibono1225 commented 4 months ago

Cc: @bradystroud @JackDevAU @adamcogan

Hi Team,

Describe the Bug

When users log in with their GitHub account, they are redirected back to the homepage. However, it seems that their user information in the top right corner is not updated and still shows ' LOG IN'. By checking the dev tools, the user info has not been added to the local storage. This means that they are not truly logged into their account.

Image Figure: I've been redirected to the homepage after logging in, but the auth status hasn't been updated

https://github.com/SSWConsulting/SSW.Rules/assets/127192800/7300a94d-4f8d-4fc9-ad5f-6d59c038cfbb

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://ssw.com.au/rules/
  2. Click on LOG IN
  3. Sign in with your GitHub account
  4. After being redirected to the homepage, the "LOG IN" button remains visible

Expected Behavior

The auth status should be updated after logging in

Tasks

Thanks!

fenix2222 commented 3 months ago

@bradystroud Triaged that bug, it seems to be working as expected. We can probably close this issue