Currently I am compiling a web map for an internal platform (15 users) via QGIS2WEB. There is also a WMS service (aerial photograph) integrated, which requires the input of user name and password, as soon as the map is clicked.
However, one problem is that the WMS service does not support "GetFeatureInfo" and therefore error messages appear when clicking with the mouse on the aerial image:
The same error message also appears when requesting information for objects that are also displayed on the map (e.g. construction projects), even if the layer with the aerial photos is deactivated:
Annoyingly, GetFeatureInfo must be activated in the QGIS2WEB dialog. If this is not the case, the query for user name and password is not started and the logon to the WMS server does not start. The aerial photo is therefore not displayed in the first place. Tested it several times already.
Is there any other way to "force" logging on to the WMS service than through a GetFeatureInfo request that causes error messages?