1

No credential dialog pops up with Edge in specified scenario

 11 months ago
source link: https://crushonme.github.io/2023/09/11/NoCredential-dialog-pops-up-with-Edge-In-Special-Scenario/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

When you embed a website which will return 307 to a website which require Windows Authentication, Edge might not prompt for credentials. And we will see “Tracking Prevention blocked access for storage for "

Cause

When your proxy hostname is in the list of disconnect-tracking-protection /services.json, Edge will use private mode to access the webpage and then it will suppress WIA in 3rd party contexts.

Reference

Solutions

A few options to resolve this issue:

  • Use a customized hostname instead of a hostname which is listed in disconnect-tracking-protection/services.json.
  • Disable tracking prevention feature
  • Set the prevention feature to Basic

Repro

  1. Download Fiddler Auto Responder rules from NoCredentialDialogIssue.farx
  2. Access NoCredentialDialogIssueNormalScenario and we will see the credential dialog.
  3. Access NoCredentialDialogIssueAbnormalScenario and you will see no credential dialog and we will see error “Tracking Prevention blocked access for storage for " in F12 Console.
Repro GIF

Notes

In this repro, we returned 307 to redirect to a proxy URL. In the abnormal scenario, the proxy URL is proxy.fb.com. And in normal scenario, the proxy URL is proxy.com. fb.com is listed in disconnect-tracking-protection /services.json. Then when we try to access proxy.fb.com, we will see below information in net-export log

 t=37 [st=0]        COMPUTED_PRIVACY_MODE
                    --> privacy_mode = "disabled"

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK