Windows authentication doesn't work properly on localhost

Duplicate Issue #4776778 • See Issue #4776775

Details

Created
Sep 29, 2015
Privacy
This issue is public.
Duplicates
See progress on Bug #4776775
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

In VS 2015, create a new website with windows authentication as the authentication method. Run debug with Edge and you will see the popup. Run debug with IE or Chrome and you will see the page auto logs you in.

Expected Results:

The windows authentication pop up should not show and the site should auto login with my windows credentials

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Crispin C.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Crispin C.” to “IE S.”

      Changed Status from “Confirmed” to “Duplicate”

    • Hello,

      Thank you for providing this information about the issue. Localhost access can be used to escape browser sandboxes, and so Edge used to block it completely. However, some sites and scenarios required localhost access, and so after careful analysis, we enabled localhost for the Internet app container only. We also special-cased “localhost” as an origin to render in the Internet sandbox so that it could access localhost. A consequence of that is this bug, because WIA (Windows Integrated Authentication) is not supported on the Internet.

       
      A work-around for this is to
      1.      Enable loopback in the intranet app container as described here https://msdn.microsoft.com/en-us/library/windows/apps/hh780593.aspx?f=255&MSPPError=-2147217396
      2.      Access your localhost machine by using its fully qualified domain.

      Best Wishes,
      The MS Edge Team

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

    Sign in