- This is my problem:
I have mounted a web page mounted on ubuntu using nginx with the secure HTTPS protocol, I have had problems with the page because the front-end when trying to make a local connection to my raspberry pi says "Mixed Content: The page at was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint. This request has been blocked; the content must be served over HTTPS. "
This error is due to the fact that my hosting travels through the HTTPS protocol but my localhost machine is HTTP, so to correct this I had to run my web page locally.
It turns out that when I go to authenticate on my local network pointing to my API backend on HTTPS protocol, the Chrome browser blocks my cookies, I see a warning appear. The weirdest thing is that it works for me in Mozilla Firefox or using Postman.
Any solution for this? I found on the internet that you have to set the properties of NodeJS cookies with httpOnly false, secure false and sameSite none but none of this worked for me :( any ideas?