Commit f45fa46
Switch to broker context after profile installation completes
- After msauth://profileInstalled callback, dismiss both webviews and switch to broker
- Added dismissSuspendedEmbeddedWebview method to coordinator
- Dismiss suspended embedded webview after profile installation
- Create MSIDBrokerInteractiveController after profile installation
- Broker invokes SSO extension to handle authentication in its own webview
- Response flows back to calling app through broker completion handler
- Updated cleanup to properly dismiss suspended webview
- Platform check for iOS (broker only available on iOS)
- Proper error handling for broker controller creation failures
Co-authored-by: Veena11 <9446116+Veena11@users.noreply.github.com>1 parent c159979 commit f45fa46
File tree
3 files changed
+65
-10
lines changed- IdentityCore/src
- controllers
- webview
3 files changed
+65
-10
lines changedLines changed: 36 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
346 | | - | |
| 344 | + | |
| 345 | + | |
347 | 346 | | |
348 | 347 | | |
349 | | - | |
350 | | - | |
| 348 | + | |
| 349 | + | |
351 | 350 | | |
352 | | - | |
353 | | - | |
354 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
355 | 382 | | |
356 | 383 | | |
357 | 384 | | |
358 | 385 | | |
359 | 386 | | |
360 | 387 | | |
361 | | - | |
| 388 | + | |
362 | 389 | | |
363 | 390 | | |
364 | 391 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| |||
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
158 | 175 | | |
159 | 176 | | |
160 | 177 | | |
| |||
173 | 190 | | |
174 | 191 | | |
175 | 192 | | |
176 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
177 | 199 | | |
178 | 200 | | |
179 | 201 | | |
| |||
0 commit comments