-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visiting user page redirects to login #418
Comments
Works fine for me (not logged in) on Linux, both Chromium and Firefox |
I also don't have the issue. I can see the user profile when I am not logged in (Chrome and Safari). |
I found the issue. It looks like it's linked to the auth cookie persisting in your browser even after you logged out. Just deleted all the site cookies and the issue vanished away. So it might be linked with the log out function. smartcitizen-web/src/app/core/api/auth.service.js Lines 133 to 135 in ffc6515
Could you try to replicate the issue? |
Hi @pral2a! I couldn't reproduce the issue, before and after clearing my browsing data. Actually, is that what you mean? |
Yes, log in, log out and then do a search to visit a user profile. It it fails then clear the cookies and try it again. |
Hi @pral2a Sorry for getting back late to this. I tried to replicate the issue by logging in, logging out, and then searching to visit a user profile, but it worked fine for me. Do you still have the same issue? Thanks |
@pral2a this is what I was referring to before. The issue is still there, reproduced with firefox, chrome in linux. |
Expected behaviour
When searching for a user and clicking on it I want to see the user profile even when I am not logged in
Actual behaviour
When searching for a user and clicking on it I'm redirected to login
How to reproduce?
The text was updated successfully, but these errors were encountered: