Skip to content
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

localhost sessionStorage and Cookies not saving for Chromium based browsers #277

Open
ochan1 opened this issue Mar 20, 2021 · 1 comment

Comments

@ochan1
Copy link
Contributor

ochan1 commented Mar 20, 2021

So apparently, Chromium-based browsers do not automatically save localhost storage for some reason

Browsers tested include:

  • Safari: Success (Mac only)
  • FireFox: Success (Mac and Windows)
  • Opera (Chromium): Login Failure (Mac and Windows)
  • Chrome: Login Failure (Mac and Windows)
  • Microsoft Edge (Chromium): Login Failure

They were tested by attempting login to an Admin account made by me and then navigating to the User Administration to trigger a backend login read

There are no problems with this on the main site and appears to only be when localhost is used

Strange behavior as code I have worked on in the past never had issues with localhost refusing to save sessionStorage or Cookies, but these were other libraries like Django, but very interesting behavior

One potential resource that may be of interest to navigate to fix this is this link: https://stackoverflow.com/questions/13292744/why-isnt-localstorage-persisting-in-chrome
where we could have a save by a fake read supposedly.

I'll look into this as soon as possible, but left here just in case

In the meantime: Firefox or Safari should be the browser of choice to use for testing the website login flow

@ochan1
Copy link
Contributor Author

ochan1 commented Apr 27, 2021

Issue handled in this Pull Request: #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant