We use HTTP Basic Authentication to prevent accidental access to our dev sites. However, we are finding that this is not compatible with CiviCRM. When we have this working, CiviCRM pages to not work.
We are using NGINX. Here is the documenation for what we are doing?
https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
Are we doing something wrong or can someone suggest an alternative method for protecting these sites that will work with CiviCRM?
Check the settings at /civicrm/admin/setting/authx?reset=1.
I can't recall which one to change. It might be "Acceptable credentials (HTTP Session Login)". Remove "User Password" from the list (again I'm not totally sure but that's probably the one).