chphoom / aroundtheblock

0 stars 1 forks source link

authentication issue with login after some time #58

Closed elaine331917 closed 1 year ago

elaine331917 commented 1 year ago

documenting a small issue. it seems like after some time passes the authentication token expires or something? i still have an authtoken in the local storage of the browser, but the website can't find my account and can't find my display name like so:

image

I can still go to /profile, so I'm still authenticated, but maybe it's because getUserDetails can't get the current user's account info for some reason

you can fix this by deleting the authtoken, which makes the sign in button appear in the navbar, or just going to /login and logging in again

not a big problem, just something to note. probably will not look into this during this sprint

elaine331917 commented 1 year ago

Potentially fixed in branch #23