From 7f06d183f94804a2f1630a93ef745458d8b0c894 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:09:02 +0000 Subject: [PATCH 1/5] Initial plan From 2b9d8e73b4161ea9bd8df82490ff328a7234c817 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:13:49 +0000 Subject: [PATCH 2/5] Add missing firewall rule instructions for AuthHost debugging with Fiddler Co-authored-by: alvinashcraft <73072+alvinashcraft@users.noreply.github.com> --- uwp/security/web-authentication-broker.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/uwp/security/web-authentication-broker.md b/uwp/security/web-authentication-broker.md index b3f7cb712d..e2d7192960 100644 --- a/uwp/security/web-authentication-broker.md +++ b/uwp/security/web-authentication-broker.md @@ -178,3 +178,25 @@ The Fiddler web debugger can be used with apps. For more information, see [Fiddl ``` 3. Add a firewall rule for incoming traffic to Fiddler. + + You can create the firewall rule using either the command line or the Windows Defender Firewall GUI: + + **Option A: Using netsh command (run as administrator):** + ```cmd + netsh advfirewall firewall add rule name="Fiddler for AuthHost Debugging" dir=in action=allow program="C:\Program Files\Fiddler\Fiddler.exe" enable=yes + ``` + + If Fiddler is installed in a different location, adjust the path accordingly. Alternatively, you can create a port-based rule: + ```cmd + netsh advfirewall firewall add rule name="Fiddler Port for AuthHost" dir=in action=allow protocol=TCP localport=8888 + ``` + + **Option B: Using Windows Defender Firewall with Advanced Security:** + 1. Open Windows Defender Firewall with Advanced Security (run `wf.msc`) + 2. Click "Inbound Rules" in the left pane + 3. Click "New Rule..." in the right pane + 4. Select "Program" and click Next + 5. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe`) and click Next + 6. Select "Allow the connection" and click Next + 7. Check all network types (Domain, Private, Public) and click Next + 8. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish From 57f505d9bc691e457499fa162e7f1b6374667bfd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:26:57 +0000 Subject: [PATCH 3/5] Fix numbered list format to use '1.' for all items per markdown best practice Co-authored-by: alvinashcraft <73072+alvinashcraft@users.noreply.github.com> --- uwp/security/web-authentication-broker.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uwp/security/web-authentication-broker.md b/uwp/security/web-authentication-broker.md index e2d7192960..95e5729e9c 100644 --- a/uwp/security/web-authentication-broker.md +++ b/uwp/security/web-authentication-broker.md @@ -193,10 +193,10 @@ The Fiddler web debugger can be used with apps. For more information, see [Fiddl **Option B: Using Windows Defender Firewall with Advanced Security:** 1. Open Windows Defender Firewall with Advanced Security (run `wf.msc`) - 2. Click "Inbound Rules" in the left pane - 3. Click "New Rule..." in the right pane - 4. Select "Program" and click Next - 5. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe`) and click Next - 6. Select "Allow the connection" and click Next - 7. Check all network types (Domain, Private, Public) and click Next - 8. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish + 1. Click "Inbound Rules" in the left pane + 1. Click "New Rule..." in the right pane + 1. Select "Program" and click Next + 1. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe`) and click Next + 1. Select "Allow the connection" and click Next + 1. Check all network types (Domain, Private, Public) and click Next + 1. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish From e9df4ea94865b0a7be9bd6979acb7009e869163a Mon Sep 17 00:00:00 2001 From: Alvin Ashcraft <73072+alvinashcraft@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:29:04 -0400 Subject: [PATCH 4/5] Apply suggestions from code review --- uwp/security/web-authentication-broker.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uwp/security/web-authentication-broker.md b/uwp/security/web-authentication-broker.md index 95e5729e9c..871213bb36 100644 --- a/uwp/security/web-authentication-broker.md +++ b/uwp/security/web-authentication-broker.md @@ -182,16 +182,19 @@ The Fiddler web debugger can be used with apps. For more information, see [Fiddl You can create the firewall rule using either the command line or the Windows Defender Firewall GUI: **Option A: Using netsh command (run as administrator):** + ```cmd netsh advfirewall firewall add rule name="Fiddler for AuthHost Debugging" dir=in action=allow program="C:\Program Files\Fiddler\Fiddler.exe" enable=yes ``` If Fiddler is installed in a different location, adjust the path accordingly. Alternatively, you can create a port-based rule: + ```cmd netsh advfirewall firewall add rule name="Fiddler Port for AuthHost" dir=in action=allow protocol=TCP localport=8888 ``` **Option B: Using Windows Defender Firewall with Advanced Security:** + 1. Open Windows Defender Firewall with Advanced Security (run `wf.msc`) 1. Click "Inbound Rules" in the left pane 1. Click "New Rule..." in the right pane From 8dcdb1a3d2ca8c66c64af52d78e159b98414ec28 Mon Sep 17 00:00:00 2001 From: Alvin Ashcraft <73072+alvinashcraft@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:31:13 -0400 Subject: [PATCH 5/5] Update uwp/security/web-authentication-broker.md --- uwp/security/web-authentication-broker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwp/security/web-authentication-broker.md b/uwp/security/web-authentication-broker.md index 871213bb36..4289586e0c 100644 --- a/uwp/security/web-authentication-broker.md +++ b/uwp/security/web-authentication-broker.md @@ -199,7 +199,7 @@ The Fiddler web debugger can be used with apps. For more information, see [Fiddl 1. Click "Inbound Rules" in the left pane 1. Click "New Rule..." in the right pane 1. Select "Program" and click Next - 1. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe`) and click Next + 1. Browse to your Fiddler executable (typically `C:\Program Files\Fiddler\Fiddler.exe` in a per-machine installation) and click Next 1. Select "Allow the connection" and click Next 1. Check all network types (Domain, Private, Public) and click Next 1. Give the rule a name like "Fiddler for AuthHost Debugging" and click Finish