Commit 1d8d2ae
Update docs with popup closure detection and interaction status details (#8580)
This pull request updates the MSAL Browser documentation to reflect
changes in how popup and iframe authentication timeouts are handled, and
provides new guidance on detecting popup closure events. The most
important changes are grouped below:
**Configuration and Timeout Options:**
* Updated `lib/msal-browser/docs/configuration.md` to remove legacy
timeout options (`windowHashTimeout`, `iframeHashTimeout`,
`loadFrameTimeout`, `navigateFrameWait`, and `pollIntervalMilliseconds`)
and add new options: `popupBridgeTimeout` (for popups, default 60s) and
`iframeBridgeTimeout` (for hidden iframes, default 10s), both related to
BroadcastChannel-based communication.
**Popup Closure Handling and User Experience:**
* Added a new section in `lib/msal-browser/docs/login-user.md`
explaining how popup closure detection now works using BroadcastChannel,
the resulting user experience when a popup is closed (including delayed
error handling and `InteractionStatus` behavior), and how to allow users
to retry login immediately using the `overrideInteractionInProgress`
flag.
---------
Co-authored-by: Thomas Norling <thomas.norling@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent bd7b6c4 commit 1d8d2ae
2 files changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
| 105 | + | |
| 106 | + | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
239 | 256 | | |
240 | 257 | | |
241 | 258 | | |
| |||
0 commit comments