I have an Apache server v2.4.43 that serves my website, and I use a simple .htpasswd that I call in .htaccess using the instruction "AuthUserFile <path to my .htpasswd file>" for my authentication.
Now the solution works with all browsers (a popup will be showed asking for a username/password), except for the Edge browser (based on Chromium build 84.0.522.52). It throws the following error before even showing the popup that asks you for your credentials:
Unauthorized
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.4.43 (Unix) Server at mywebsite.com Port 443
Any ideas will be appreciated.
AuthSchemes
policy of your Edge browser and set it properly. You can also check other related policies of HTTP authentication to see if there's something wrong. – Sevilla