Auth prompt not showing when initialized via XHR request

Issue #13029031

Details

Author
Rikard E.
Created
Aug 1, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

When making a request via XHR to a resource protected with digest auth the user/password prompt is not showing up. This works in Edge 38.

Example:

        var request = new XMLHttpRequest();
        request.onreadystatechange = function () {
            var DONE = this.DONE || 4;
            if (this.readyState === DONE){
                alert(this.readyState);
            }
        };
        request.open('GET', 'some-resource-with-digest-auth', true);
        request.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
        request.send(null);

The above example will only alert the readyState in Edge 40, whereas in Edge 38 the user/password prompt is shown before. fetch is not triggering the prompt either.

Attachments

0 attachments

    Comments and activity

    • Hi,

      I have a similar issue.

      Using $.Ajax or Fetch API to connect a HTTPS server which had option SSL CLIENT VERIFY enable is not working.
      Accessing directly in an other tab to the same protected page show the client certificate processing prompt.

      This work fine on Internet Explorer 11, Chrome, Firefox, Opera, …

      Regards,

    • In addition, everything working fine on HTTP or HTTPS without SSL CLIENT VERIFY.

    • That’s so curious, we have another issue : https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12104075/.

      Perhaps they are connected …

    • I see the same issue in my application…

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Status

    • Hello,

      Thank you for providing this information about the issue. We have confirmed the problem, and are considering a solution for a future build of Edge. We are presently tracking this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in