02-05-2023, 09:44 PM
I am writing a IdHttpsServer application, which requires that the connecting web browser login with username and password.
I am not a HTML specialist, but I remember that basic authentication would pop-up a (what looks like) *internal* web browser window where the Login and Password can be entered, after which these are send back to the Server in the 'Basic' authentication format.
So they show up in ARequestInfo.AuthUsername and ARequestInfo.AuthPassword.
How do I 'force' this to happen on the Browser side? I was looking for a IdHttpsServer option to force this request, but can't find anything; So it must be a special HTML command/webpage to generate this on the browser side?
I am not a HTML specialist, but I remember that basic authentication would pop-up a (what looks like) *internal* web browser window where the Login and Password can be entered, after which these are send back to the Server in the 'Basic' authentication format.
So they show up in ARequestInfo.AuthUsername and ARequestInfo.AuthPassword.
How do I 'force' this to happen on the Browser side? I was looking for a IdHttpsServer option to force this request, but can't find anything; So it must be a special HTML command/webpage to generate this on the browser side?