@azure/msal-angular 4.0.11 → 4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/.beachballrc +3 -0
  2. package/.editorconfig +16 -0
  3. package/.eslintrc.json +3 -0
  4. package/CHANGELOG.json +2315 -0
  5. package/CHANGELOG.md +869 -0
  6. package/FAQ.md +182 -0
  7. package/angular.json +51 -0
  8. package/docs/angular-universal.md +64 -0
  9. package/docs/configuration.md +609 -0
  10. package/docs/errors.md +89 -0
  11. package/docs/events.md +262 -0
  12. package/docs/initialization.md +206 -0
  13. package/docs/known-issues.md +19 -0
  14. package/docs/logging.md +47 -0
  15. package/docs/msal-guard.md +208 -0
  16. package/docs/msal-interceptor.md +160 -0
  17. package/docs/multi-tenant.md +90 -0
  18. package/docs/performance.md +50 -0
  19. package/docs/public-apis.md +29 -0
  20. package/docs/redirects.md +257 -0
  21. package/docs/security.md +4 -0
  22. package/docs/ssosilent.md +84 -0
  23. package/docs/v0-v1-upgrade-guide.md +61 -0
  24. package/docs/v1-v2-upgrade-guide.md +70 -0
  25. package/docs/v2-v3-upgrade-guide.md +52 -0
  26. package/docs/v3-v4-upgrade-guide.md +36 -0
  27. package/karma.conf.js +44 -0
  28. package/ng-package.json +7 -0
  29. package/package.json +56 -26
  30. package/src/IMsalService.ts +34 -0
  31. package/src/constants.ts +20 -0
  32. package/src/msal.broadcast.config.ts +8 -0
  33. package/src/msal.broadcast.service.spec.ts +471 -0
  34. package/src/msal.broadcast.service.ts +84 -0
  35. package/src/msal.guard.config.ts +27 -0
  36. package/src/msal.guard.spec.ts +525 -0
  37. package/src/msal.guard.ts +290 -0
  38. package/src/msal.interceptor.config.ts +39 -0
  39. package/src/msal.interceptor.spec.ts +1168 -0
  40. package/src/msal.interceptor.ts +388 -0
  41. package/src/msal.module.ts +51 -0
  42. package/src/msal.navigation.client.spec.ts +96 -0
  43. package/src/msal.navigation.client.ts +59 -0
  44. package/src/msal.redirect.component.spec.ts +64 -0
  45. package/src/msal.redirect.component.ts +26 -0
  46. package/src/msal.service.spec.ts +468 -0
  47. package/src/msal.service.ts +104 -0
  48. package/src/packageMetadata.ts +3 -0
  49. package/{public-api.d.ts → src/public-api.ts} +35 -17
  50. package/src/test.ts +19 -0
  51. package/tsconfig.json +25 -0
  52. package/tsconfig.lib.json +27 -0
  53. package/tsconfig.lib.prod.json +10 -0
  54. package/tsconfig.spec.json +17 -0
  55. package/typedoc.json +10 -0
  56. package/IMsalService.d.ts +0 -17
  57. package/constants.d.ts +0 -5
  58. package/esm2020/IMsalService.mjs +0 -6
  59. package/esm2020/azure-msal-angular.mjs +0 -5
  60. package/esm2020/constants.mjs +0 -10
  61. package/esm2020/msal.broadcast.config.mjs +0 -6
  62. package/esm2020/msal.broadcast.service.mjs +0 -66
  63. package/esm2020/msal.guard.config.mjs +0 -6
  64. package/esm2020/msal.guard.mjs +0 -218
  65. package/esm2020/msal.interceptor.config.mjs +0 -6
  66. package/esm2020/msal.interceptor.mjs +0 -270
  67. package/esm2020/msal.module.mjs +0 -46
  68. package/esm2020/msal.navigation.client.mjs +0 -53
  69. package/esm2020/msal.redirect.component.mjs +0 -31
  70. package/esm2020/msal.service.mjs +0 -88
  71. package/esm2020/packageMetadata.mjs +0 -4
  72. package/esm2020/public-api.mjs +0 -18
  73. package/fesm2015/azure-msal-angular.mjs +0 -762
  74. package/fesm2015/azure-msal-angular.mjs.map +0 -1
  75. package/fesm2020/azure-msal-angular.mjs +0 -758
  76. package/fesm2020/azure-msal-angular.mjs.map +0 -1
  77. package/index.d.ts +0 -5
  78. package/msal.broadcast.config.d.ts +0 -3
  79. package/msal.broadcast.service.d.ts +0 -19
  80. package/msal.guard.config.d.ts +0 -9
  81. package/msal.guard.d.ts +0 -43
  82. package/msal.interceptor.config.d.ts +0 -13
  83. package/msal.interceptor.d.ts +0 -70
  84. package/msal.module.d.ts +0 -13
  85. package/msal.navigation.client.d.ts +0 -19
  86. package/msal.redirect.component.d.ts +0 -15
  87. package/msal.service.d.ts +0 -33
  88. package/packageMetadata.d.ts +0 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,869 @@
1
+ # Change Log - @azure/msal-angular
2
+
3
+ <!-- This log was last generated on Wed, 18 Jun 2025 15:21:55 GMT and should not be manually modified. -->
4
+
5
+ <!-- Start content -->
6
+
7
+ ## 4.0.13
8
+
9
+ Wed, 18 Jun 2025 15:21:55 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @azure/msal-browser to v4.13.2
14
+ - Bump eslint-config-msal to v0.0.0
15
+
16
+ ## 4.0.12
17
+
18
+ Tue, 06 May 2025 22:47:43 GMT
19
+
20
+ ### Patches
21
+
22
+ - Bump @azure/msal-browser to v4.12.0
23
+ - Bump eslint-config-msal to v0.0.0
24
+
25
+ ## 4.0.11
26
+
27
+ Tue, 29 Apr 2025 20:25:48 GMT
28
+
29
+ ### Patches
30
+
31
+ - Fix circular dependency (thomas.norling@microsoft.com)
32
+ - Bump @azure/msal-browser to v4.11.1
33
+ - Bump eslint-config-msal to v0.0.0
34
+
35
+ ## 4.0.10
36
+
37
+ Tue, 15 Apr 2025 23:34:14 GMT
38
+
39
+ ### Patches
40
+
41
+ - Bump @azure/msal-browser to v4.11.0
42
+ - Bump eslint-config-msal to v0.0.0
43
+
44
+ ## 4.0.9
45
+
46
+ Tue, 08 Apr 2025 16:56:05 GMT
47
+
48
+ ### Patches
49
+
50
+ - added resetInProgressEvent function to reset event after handleRedirectPromise is called #7682 (lalimasharda@microsoft.com)
51
+ - Deprecate logout() in Angular (shylasummers@microsoft.com)
52
+ - Bump @azure/msal-browser to v4.10.0
53
+ - Bump eslint-config-msal to v0.0.0
54
+
55
+ ## 4.0.8
56
+
57
+ Tue, 25 Mar 2025 22:29:34 GMT
58
+
59
+ ### Patches
60
+
61
+ - Fix request type for ssoSilent (thomas.norling@microsoft.com)
62
+ - Bump @azure/msal-browser to v4.9.0
63
+ - Bump eslint-config-msal to v0.0.0
64
+
65
+ ## 4.0.7
66
+
67
+ Thu, 20 Mar 2025 22:09:04 GMT
68
+
69
+ ### Patches
70
+
71
+ - Bump @azure/msal-browser to v4.8.0
72
+ - Bump eslint-config-msal to v0.0.0
73
+
74
+ ## 4.0.6
75
+
76
+ Tue, 11 Mar 2025 18:51:25 GMT
77
+
78
+ ### Patches
79
+
80
+ - Bump @azure/msal-browser to v4.7.0
81
+ - Bump eslint-config-msal to v0.0.0
82
+
83
+ ## 4.0.5
84
+
85
+ Tue, 18 Feb 2025 18:51:41 GMT
86
+
87
+ ### Patches
88
+
89
+ - Bump @azure/msal-browser to v4.3.0
90
+ - Bump eslint-config-msal to v0.0.0
91
+
92
+ ## 4.0.4
93
+
94
+ Wed, 05 Feb 2025 00:15:19 GMT
95
+
96
+ ### Patches
97
+
98
+ - Bump @azure/msal-browser to v4.2.0
99
+ - Bump eslint-config-msal to v0.0.0
100
+
101
+ ## 4.0.3
102
+
103
+ Mon, 03 Feb 2025 17:48:09 GMT
104
+
105
+ ### Patches
106
+
107
+ - Bump @azure/msal-browser to v4.1.0
108
+ - Bump eslint-config-msal to v0.0.0
109
+
110
+ ## 4.0.2
111
+
112
+ Wed, 22 Jan 2025 21:45:31 GMT
113
+
114
+ ### Patches
115
+
116
+ - Bump @azure/msal-browser to v4.0.2
117
+ - Bump eslint-config-msal to v0.0.0
118
+
119
+ ## 4.0.1
120
+
121
+ Wed, 15 Jan 2025 05:05:16 GMT
122
+
123
+ ### Breaking Changes
124
+
125
+ - Update msal-browser peer dependency to include v4 (thomas.norling@microsoft.com)
126
+
127
+ Please see the msal-browser [migration guide](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/v3-migration.md) for more details on what's changed in v4.
128
+
129
+ ## 3.1.0
130
+
131
+ Tue, 05 Nov 2024 18:58:46 GMT
132
+
133
+ ### Minor changes
134
+
135
+ - Bump @azure/msal-browser to v3.27.0
136
+ - Bump eslint-config-msal to v0.0.0
137
+
138
+ ## 3.0.25
139
+
140
+ Thu, 03 Oct 2024 00:40:42 GMT
141
+
142
+ ### Patches
143
+
144
+ - Bump @azure/msal-browser to v3.25.0
145
+ - Bump eslint-config-msal to v0.0.0
146
+
147
+ ## 3.0.24
148
+
149
+ Thu, 19 Sep 2024 23:48:30 GMT
150
+
151
+ ### Patches
152
+
153
+ - Bump @azure/msal-browser to v3.24.0
154
+ - Bump eslint-config-msal to v0.0.0
155
+
156
+ ## 3.0.23
157
+
158
+ Tue, 23 Jul 2024 14:19:34 GMT
159
+
160
+ ### Patches
161
+
162
+ - Bump @azure/msal-browser to v3.20.0
163
+ - Bump eslint-config-msal to v0.0.0
164
+
165
+ ## 3.0.22
166
+
167
+ Tue, 16 Jul 2024 18:22:27 GMT
168
+
169
+ ### Patches
170
+
171
+ - Bump @azure/msal-browser to v3.19.1
172
+ - Bump eslint-config-msal to v0.0.0
173
+
174
+ ## 3.0.21
175
+
176
+ Mon, 01 Jul 2024 19:18:29 GMT
177
+
178
+ ### Patches
179
+
180
+ - Bump @azure/msal-browser to v3.18.0
181
+ - Bump eslint-config-msal to v0.0.0
182
+
183
+ ## 3.0.20
184
+
185
+ Mon, 10 Jun 2024 22:30:36 GMT
186
+
187
+ ### Patches
188
+
189
+ - Bump @azure/msal-browser to v3.17.0
190
+ - Bump eslint-config-msal to v0.0.0
191
+
192
+ ## 3.0.19
193
+
194
+ Tue, 04 Jun 2024 00:08:57 GMT
195
+
196
+ ### Patches
197
+
198
+ - Fix query string instead of HostNameAndPort bug in MsalInterceptor #7137 (joarroyo@microsoft.com)
199
+ - Bump @azure/msal-browser to v3.16.0
200
+ - Bump eslint-config-msal to v0.0.0
201
+
202
+ ## 3.0.18
203
+
204
+ Tue, 28 May 2024 21:37:23 GMT
205
+
206
+ ### Patches
207
+
208
+ - Bump @azure/msal-browser to v3.15.0
209
+ - Bump eslint-config-msal to v0.0.0
210
+
211
+ ## 3.0.17
212
+
213
+ Mon, 06 May 2024 23:48:17 GMT
214
+
215
+ ### Patches
216
+
217
+ - Bump @azure/msal-browser to v3.14.0
218
+ - Bump eslint-config-msal to v0.0.0
219
+
220
+ ## 3.0.16
221
+
222
+ Thu, 11 Apr 2024 21:46:57 GMT
223
+
224
+ ### Patches
225
+
226
+ - Bump @azure/msal-browser to v3.13.0
227
+ - Bump eslint-config-msal to v0.0.0
228
+
229
+ ## 3.0.15
230
+
231
+ Wed, 27 Mar 2024 18:41:17 GMT
232
+
233
+ ### Patches
234
+
235
+ - Bump @azure/msal-browser to v3.11.1
236
+ - Bump eslint-config-msal to v0.0.0
237
+
238
+ ## 3.0.14
239
+
240
+ Fri, 22 Mar 2024 20:32:39 GMT
241
+
242
+ ### Patches
243
+
244
+ - Bump @azure/msal-browser to v3.11.0
245
+ - Bump eslint-config-msal to v0.0.0
246
+
247
+ ## 3.0.13
248
+
249
+ Sat, 17 Feb 2024 01:49:06 GMT
250
+
251
+ ### Patches
252
+
253
+ - Bump @azure/msal-browser to v3.10.0
254
+ - Bump eslint-config-msal to v0.0.0
255
+
256
+ ## 3.0.12
257
+
258
+ Wed, 07 Feb 2024 22:00:37 GMT
259
+
260
+ ### Patches
261
+
262
+ - Bump @azure/msal-browser to v3.9.0
263
+ - Bump eslint-config-msal to v0.0.0
264
+
265
+ ## 3.0.11
266
+
267
+ Tue, 23 Jan 2024 00:06:05 GMT
268
+
269
+ ### Patches
270
+
271
+ - Bump @azure/msal-browser to v3.7.1
272
+
273
+ ## 3.0.10
274
+
275
+ Tue, 09 Jan 2024 00:03:25 GMT
276
+
277
+ ### Patches
278
+
279
+ - Bump @azure/msal-browser to v3.7.0
280
+
281
+ ## 3.0.9
282
+
283
+ Fri, 01 Dec 2023 18:46:06 GMT
284
+
285
+ ### Patches
286
+
287
+ - Bump @azure/msal-browser to v3.6.0
288
+
289
+ ## 3.0.8
290
+
291
+ Tue, 07 Nov 2023 00:01:51 GMT
292
+
293
+ ### Patches
294
+
295
+ - Bump @azure/msal-browser to v3.5.0
296
+
297
+ ## 3.0.7
298
+
299
+ Mon, 30 Oct 2023 21:38:25 GMT
300
+
301
+ ### Patches
302
+
303
+ - Bump @azure/msal-browser to v3.4.0
304
+
305
+ ## 3.0.6
306
+
307
+ Wed, 18 Oct 2023 17:24:19 GMT
308
+
309
+ ### Patches
310
+
311
+ - Bump @azure/msal-browser to v3.3.0
312
+
313
+ ## 3.0.5
314
+
315
+ Thu, 05 Oct 2023 18:06:44 GMT
316
+
317
+ ### Patches
318
+
319
+ - Bump @azure/msal-browser to v3.2.0
320
+
321
+ ## 3.0.4
322
+
323
+ Wed, 06 Sep 2023 17:19:21 GMT
324
+
325
+ ### Patches
326
+
327
+ - Remove `files` from `package.json` that breaks packaging/deploying #6442 (kshabelko@microsoft.com)
328
+
329
+ ## 3.0.3
330
+
331
+ Tue, 05 Sep 2023 22:13:47 GMT
332
+
333
+ ### Patches
334
+
335
+ - Add a linter rule to avoid floating promises #6421 (sameera.gajjarapu@microsoft.com)
336
+ - Fix for source-map related errors #6398 (lalimasharda@microsoft.com)
337
+ - Bump @azure/msal-browser to v3.1.0
338
+
339
+ ## 3.0.2
340
+
341
+ Fri, 18 Aug 2023 18:40:03 GMT
342
+
343
+ ### Patches
344
+
345
+ - Bump @azure/msal-browser to v3.0.2
346
+
347
+ ## 3.0.1
348
+
349
+ Fri, 11 Aug 2023 19:00:44 GMT
350
+
351
+ ### Patches
352
+
353
+ - Fix Angular deploy #6316 (hemoral@microsoft.com)
354
+ - Bump @azure/msal-browser to v3.0.1
355
+
356
+ ## 3.0.0
357
+
358
+ Mon, 07 Aug 2023 18:15:15 GMT
359
+
360
+ ### Major changes
361
+
362
+ - Update msal-angular to Angular 15 (joarroyo@microsoft.com)
363
+ - Rebase dev onto v3 #5843 (kshabelko@microsoft.com)
364
+ - Bump @azure/msal-browser to v3.0.0
365
+
366
+ ### Minor changes
367
+
368
+ - Remove unused main field in package.json #6190 (thomas.norling@microsoft.com)
369
+ - Update log to match name change #6036 (joarroyo@microsoft.com)
370
+ - Update rxjs dev dependency #6004 (joarroyo@microsoft.com)
371
+
372
+ ### Patches
373
+
374
+ - Fix package-lock.json #5788 (kshabelko@microsoft.com)
375
+
376
+ ## 2.5.7
377
+
378
+ Mon, 01 May 2023 20:47:44 GMT
379
+
380
+ ### Patches
381
+
382
+ - Bump @azure/msal-browser to v2.36.0
383
+
384
+ ## 2.5.5
385
+
386
+ Mon, 03 Apr 2023 21:29:32 GMT
387
+
388
+ ### Patches
389
+
390
+ - Bump @azure/msal-browser to v2.35.0
391
+
392
+ ## 2.5.4
393
+
394
+ Tue, 07 Mar 2023 16:48:51 GMT
395
+
396
+ ### Patches
397
+
398
+ - Avoid throwing 'Interaction is currently in progress' error in msal interceptor #5146 (ykshtein@gmail.com)
399
+ - Bump @azure/msal-browser to v2.34.0
400
+
401
+ ## 2.5.3
402
+
403
+ Mon, 06 Feb 2023 18:51:51 GMT
404
+
405
+ ### Patches
406
+
407
+ - Update ProtectedResourceScopes type to allow unprotected resource for concrete request type (#5563) (milos.buda@hotmail.com)
408
+ - Bump @azure/msal-browser to v2.33.0
409
+
410
+ ## 2.5.2
411
+
412
+ Mon, 09 Jan 2023 22:44:57 GMT
413
+
414
+ ### Patches
415
+
416
+ - Bump @azure/msal-browser to v2.32.2
417
+
418
+ ## 2.5.1
419
+
420
+ Wed, 07 Dec 2022 16:53:07 GMT
421
+
422
+ ### Patches
423
+
424
+ - Bump @azure/msal-browser to v2.32.1
425
+
426
+ ## 2.5.0
427
+
428
+ Mon, 21 Nov 2022 19:14:45 GMT
429
+
430
+ ### Minor changes
431
+
432
+ - Bump @azure/msal-browser to v2.32.0
433
+
434
+ ## 2.4.6
435
+
436
+ Mon, 07 Nov 2022 22:46:55 GMT
437
+
438
+ ### Patches
439
+
440
+ - Bump @azure/msal-browser to v2.31.0
441
+
442
+ ## 2.4.5
443
+
444
+ Mon, 10 Oct 2022 22:27:03 GMT
445
+
446
+ ### Patches
447
+
448
+ - Bump @azure/msal-browser to v2.30.0
449
+
450
+ ## 2.4.4
451
+
452
+ Mon, 03 Oct 2022 22:12:26 GMT
453
+
454
+ ### Patches
455
+
456
+ - Bump @azure/msal-browser to v2.29.0
457
+
458
+ ## 2.4.3
459
+
460
+ Mon, 12 Sep 2022 18:19:32 GMT
461
+
462
+ ### Patches
463
+
464
+ - Bump @azure/msal-browser to v2.28.3
465
+
466
+ ## 2.4.2
467
+
468
+ Fri, 02 Sep 2022 18:06:53 GMT
469
+
470
+ ### Patches
471
+
472
+ - Bump @azure/msal-browser to v2.28.2
473
+
474
+ ## 2.4.1
475
+
476
+ Mon, 01 Aug 2022 22:22:35 GMT
477
+
478
+ ### Patches
479
+
480
+ - Bump @azure/msal-browser to v2.28.1
481
+
482
+ ## 2.4.0
483
+
484
+ Mon, 18 Jul 2022 23:26:21 GMT
485
+
486
+ ### Minor changes
487
+
488
+ - Add MsalBroadcastService configurations, allow replay of past events #4998 (joarroyo@microsoft.com)
489
+ - Bump @azure/msal-browser to v2.28.0
490
+
491
+ ## 2.3.3
492
+
493
+ Tue, 05 Jul 2022 22:37:04 GMT
494
+
495
+ ### Patches
496
+
497
+ - Bump @azure/msal-browser to v2.27.0
498
+
499
+ ## 2.3.2
500
+
501
+ Mon, 13 Jun 2022 22:28:09 GMT
502
+
503
+ ### Patches
504
+
505
+ - Bump @azure/msal-browser to v2.26.0
506
+
507
+ ## 2.3.1
508
+
509
+ Mon, 06 Jun 2022 22:13:00 GMT
510
+
511
+ ### Patches
512
+
513
+ - Bump @azure/msal-browser to v2.25.0
514
+
515
+ ## 2.3.0
516
+
517
+ Mon, 02 May 2022 22:23:33 GMT
518
+
519
+ ### Minor changes
520
+
521
+ - Add support for acquiring tokens from the native broker #4531 (thomas.norling@microsoft.com)
522
+ - Bump @azure/msal-browser to v2.24.0
523
+
524
+ ## 2.2.0
525
+
526
+ Mon, 04 Apr 2022 21:12:41 GMT
527
+
528
+ ### Minor changes
529
+
530
+ - Add support for rxjs v7 and Angular 13 #4605 (rginsburg@microsoft.com)
531
+ - Bump @azure/msal-browser to v2.23.0
532
+
533
+ ## 2.1.2
534
+
535
+ Mon, 07 Mar 2022 23:28:43 GMT
536
+
537
+ ### Patches
538
+
539
+ - Bump @azure/msal-browser to v2.22.1
540
+
541
+ ## 2.1.1
542
+
543
+ Tue, 08 Feb 2022 00:41:06 GMT
544
+
545
+ ### Patches
546
+
547
+ - Bump @azure/msal-browser to v2.22.0
548
+
549
+ ## 2.1.0
550
+
551
+ Tue, 04 Jan 2022 00:20:29 GMT
552
+
553
+ ### Minor changes
554
+
555
+ - Bump @azure/msal-browser to v2.21.0
556
+
557
+ ## 2.0.6
558
+
559
+ Tue, 07 Dec 2021 00:17:01 GMT
560
+
561
+ ### Patches
562
+
563
+ - Fix angular guard /code check to ensure proper length #4249 (janutter@microsoft.com)
564
+ - Bump @azure/msal-browser to v2.20.0
565
+
566
+ ## 2.0.5
567
+
568
+ Mon, 01 Nov 2021 23:53:22 GMT
569
+
570
+ ### Patches
571
+
572
+ - Fix redirect processing when allowRedirectInIframe: true #4142 (thomas.norling@microsoft.com)
573
+ - Ensure code is in fragment for Angular guard #4190 (janutter@microsoft.com)
574
+ - Bump @azure/msal-browser to v2.19.0
575
+
576
+ ## 2.0.4
577
+
578
+ Mon, 04 Oct 2021 23:12:35 GMT
579
+
580
+ ### Patches
581
+
582
+ - Export library version #4124 (thomas.norling@microsoft.com)
583
+ - Bump @azure/msal-browser to v2.18.0
584
+
585
+ ## 2.0.3
586
+
587
+ Tue, 07 Sep 2021 23:22:24 GMT
588
+
589
+ ### Patches
590
+
591
+ - Fix inProgress state bug when returning from a redirect #4013 (thomas.norling@microsoft.com)
592
+ - Fix infinite reload on route protected by MsalGuard when '#code=' appears in the url #3995 (thomas.norling@microsoft.com)
593
+
594
+ ## 2.0.2
595
+
596
+ Thu, 22 Jul 2021 22:50:22 GMT
597
+
598
+ ### Patches
599
+
600
+ - allow unprotect resources on certain http methods #3878 (daniel.vargastr@gmail.com)
601
+ - fix: fixing the npm audit issues (samuelkamau@microsoft.com)
602
+
603
+ ## 2.0.1
604
+
605
+ Mon, 28 Jun 2021 23:39:48 GMT
606
+
607
+ ### Patches
608
+
609
+ - Don't use normalized url in Angular custom nav client #3757 (janutter@microsoft.com)
610
+ - MsalInterceptor relative url fix #3729 (joarroyo@microsoft.com)
611
+ - Add window check to msal-guard #3664 (joarroyo@microsoft.com)
612
+
613
+ ## 2.0.0
614
+
615
+ Thu, 13 May 2021 18:34:08 GMT
616
+
617
+ ### Patches
618
+
619
+ - Move MSAL Angular v2 and MSAL React to GA (janutter@microsoft.com)
620
+
621
+ ## 2.0.0-beta.6
622
+
623
+ Wed, 12 May 2021 18:35:03 GMT
624
+
625
+ ### Changes
626
+
627
+ - Fix navigation bug when clearing auth code from hash in msal-angular #3609 (hemoral@microsoft.com)
628
+ - Update MsalInterceptor to accept HTTP methods in protectedResourceMap #3546 (joarroyo@microsoft.com)
629
+ - Properly handle MSAL guard on redirect uri for hash and path routing (janutter@microsoft.com)
630
+ - Update msal-angular tooling to angular v11 #3584 (joarroyo@microsoft.com)
631
+
632
+ ## 2.0.0-beta.5
633
+
634
+ Thu, 22 Apr 2021 23:26:08 GMT
635
+
636
+ ### Changes
637
+
638
+ - Prevent MSAL Guard from navigating app to url with code hash #3506 (janutter@microsoft.com)
639
+ - Add .browserslistrc #3471 (thomas.norling@microsoft.com)
640
+
641
+ ## 2.0.0-beta.4
642
+
643
+ Wed, 14 Apr 2021 18:39:53 GMT
644
+
645
+ ### Changes
646
+
647
+ - fix(Msal-Angular): Dynamic interceptor authority (1292510+svrooij@users.noreply.github.com)
648
+
649
+ ## 2.0.0-beta.3
650
+
651
+ Wed, 31 Mar 2021 22:25:57 GMT
652
+
653
+ ### Changes
654
+
655
+ - Update MsalInterceptor types and getScopesForEndpoint with query and relative paths #3307 (joarroyo@microsoft.com)
656
+
657
+ ## 2.0.0-beta.2
658
+
659
+ Wed, 24 Mar 2021 22:55:46 GMT
660
+
661
+ ### Changes
662
+
663
+ - Add support for logoutPopup API #3044 (thomas.norling@microsoft.com)
664
+ - Add MsalCustomNavigationClient, updates samples and docs #3174 (joarroyo@microsoft.com)
665
+ - Update MsalGuard and \_inProgress subject #3269 (joarroyo@microsoft.com)
666
+ - Update MSAL Service handleRedirectObservable hash handling #3243 (joarroyo@microsoft.com)
667
+
668
+ ## 2.0.0-beta.1
669
+
670
+ Mon, 15 Mar 2021 23:45:17 GMT
671
+
672
+ ### Changes
673
+
674
+ - fix: #3149 - Msal Redirect Component was not part of the Module (rchinnakampalli@worldbankgroup.org)
675
+
676
+ ## 2.0.0-beta.0
677
+
678
+ Wed, 03 Mar 2021 21:47:05 GMT
679
+
680
+ ### Changes
681
+
682
+ - Fix BroadcastService logging to use msal-angular version, update samples versions, profile, and links (#3015) (joarroyo@microsoft.com)
683
+ - Add FAQ.md and active accounts in sample (#2977) (joarroyo@microsoft.com)
684
+ - Update msal-angular preinstall script to force npm-force-resolutions version (#3074) (joarroyo@microsoft.com)
685
+
686
+ ## 2.0.0-alpha.6
687
+
688
+ Thu, 18 Feb 2021 00:34:32 GMT
689
+
690
+ ### Changes
691
+
692
+ - Await loginRedirect in MSAL Guard to prevent race conditions (janutter@microsoft.com)
693
+
694
+ ## 2.0.0-alpha.5
695
+
696
+ Tue, 09 Feb 2021 01:48:22 GMT
697
+
698
+ ### Changes
699
+
700
+ - Msal-angular typedocs and instrumentation (#2863) (joarroyo@microsoft.com)
701
+ - Fix version.json import errors (#2993) (thomas.norling@microsoft.com)
702
+ - Update ssoSilent and cors-api documentation (#2971) (joarroyo@microsoft.com)
703
+
704
+ ## 2.0.0-alpha.4
705
+
706
+ Tue, 02 Feb 2021 01:56:47 GMT
707
+
708
+ ### Changes
709
+
710
+ - Invoke interaction if MSAL Interceptor resolves with null access token, mitigates B2C service not supporting RTs for multiple resources (janutter@microsoft.com)
711
+ - Pass SKU and version to msal-browser (#2845) (joarroyo@microsoft.com)
712
+ - Add redirect component, get interactionStatus from msal-browser, add inProgress$, and sample updates (#2885) (joarroyo@microsoft.com)
713
+ - Get package version from version.json (#2915) (thomas.norling@microsoft.com)
714
+ - Add version detection to msal guard for canLoad interface (#2948) (joarroyo@microsoft.com)
715
+
716
+ ## 2.0.0-alpha.3
717
+
718
+ Tue, 12 Jan 2021 00:51:26 GMT
719
+
720
+ ### Changes
721
+
722
+ - Make scopes optional for msal-guard config (#2829) (joarroyo@microsoft.com)
723
+ - Interceptor, guard, and samples to use active account (#2784) (joarroyo@microsoft.com)
724
+ - Msal guard supports angular routes for login failure (#2803) (joarroyo@microsoft.com)
725
+ - Add additional interfaces to msal-guard (#2759) (joarroyo@microsoft.com)
726
+
727
+ ## 2.0.0-alpha.1
728
+
729
+ Mon, 07 Dec 2020 23:02:52 GMT
730
+
731
+ ### Changes
732
+
733
+ - MSAL Angular v2 alpha.1 changes (janutter@microsoft.com)
734
+
735
+ ## 2.0.0-alpha.0
736
+
737
+ Thu, 12 Nov 2020 00:45:30 GMT
738
+
739
+ ### Changes
740
+
741
+ - Add msal-angular-v2-alpha-0 (#2463) (joarroyo@microsoft.com)
742
+
743
+ ## 1.1.2
744
+
745
+ Wed, 11 Nov 2020 23:33:20 GMT
746
+
747
+ ### Patches
748
+
749
+ - Pass generic to ModuleWithProviders for MsalModule v1, set supported Angular versions to 6-9 (#2577) (janutter@microsoft.com)
750
+
751
+ ## 1.1.0
752
+
753
+ Tue, 25 Aug 2020 00:40:45 GMT
754
+
755
+ ### Minor changes
756
+
757
+ - Update protectedResources with wildcard, remove unprotectedResources from msal-angular (#2029) (joarroyo@microsoft.com)
758
+
759
+ ## 1.0.0
760
+
761
+ Stable release of MSAL Angular v1. See beta versions below for complete list of changes.
762
+
763
+ ### Highlights:
764
+
765
+ - Requires `msal@1.3.0`.
766
+ - Requires `rxjs@6`.
767
+ - Adds support for Angular 6, 7, 8, 9.
768
+ - Drops support for Angular 4, 5.
769
+ - `MsalModule.forRoot` now takes two arguement.
770
+ - The first argument is the configuration object, which is the [same `Configuration` object](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-core/src/Configuration.ts) you would pass to `msal`.
771
+ - The second argument is a `MsalAngularConfiguration` object, containing the values for `consentScopes`, `popUp`, and `extraQueryParameters`.
772
+ - See the [updated sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.module.ts) for an example of how to pass these configuration objects.
773
+ - The `acquireToken` and `login` methods now take a single `AuthenticationParameters` object as parameters.
774
+ - `getUser()` is now `getAccount()`.
775
+ - Broadcast events now emit objects, instead of just strings.
776
+ - Applications using `Redirect` methods can optionally implement the `handleRedirectCallback` method (and have it run on every page load), which will capture the result of redirect operations. See the [Angular sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.component.ts) for an example of how to implement.
777
+ - Add `ssoSilent` API. This API requires either a `loginHint` or `sid`, and is intended to be used when you want to SSO to an existing AAD session. Emits `msal:ssoSuccess` and `msal:ssoFailure` events.
778
+
779
+ ### Fixes
780
+
781
+ - Ensure interceptor uses ID token property if response is of type id_token (#1528)
782
+
783
+ ## 1.0.0-beta.5
784
+
785
+ - Requires `msal@1.3.0-beta.0`.
786
+ - When MSAL Guard fails to silent SSO, prompt for interaction. (#1455)
787
+ - MSAL Guard should properly support hash routing and non-root base urls. (#1452)
788
+ - Fix isEmpty check for unprotectedResources. (#1454)
789
+ - Update handleRedirectCallback in Angular samples to log entire response. (#1428)
790
+ - Don't broadcast `msal:login` events from MSAL Guard. (#1435)
791
+ - Add guide for [Configuration](./docs/configuration.md).
792
+
793
+ ## 1.0.0-beta.4
794
+
795
+ - Requires `msal@1.2.2-beta.2`, which add `redirectStartUrl` to `AuthenticationParameters`, so that when a redirect operation from MSAL Guard is succesfully completed, redirect to the desired destination page. (#1343)
796
+ - Short-circuit MSAL Guard if it detects it is loaded in an iframe, to prevent timeouts that occur as a result of redirecting. (#1337)
797
+ - If framework.protectedResourceMap/unprotectedResources is empty, use msalAngularConfig.protectedResourceMap/unprotectedResources. (#1355)
798
+
799
+ ## 1.0.0-beta.3
800
+
801
+ Fixes issues related to support for Angular 9 and Ivy.
802
+
803
+ - Library is now built using the Angular 9 CLI and `ng-packagr`. (#1323)
804
+ - Angular 9 sample now available in the [samples folder](../../samples/angular9-sample-app/). (#1312)
805
+ - `MSAL_CONFIG` and `MSAL_CONFIG_ANGULAR` available from the package's main export. (#1323)
806
+ - Removes the `WindowWrapper` class. (#1323)
807
+
808
+ ## 1.0.0-beta.2
809
+
810
+ Fixes two issues related to `aot` mode.
811
+
812
+ - Requires `msal@1.2.2-beta.0`, which adds `setLogger` function to dynamically set the logger callback when running in `aot` mode. (#1213).
813
+ - Moves `protectedResourceMap` and `unprotectedResources` to MSAL Angular-specific configuration object. `protectedResourceMap` can now be `[string, string[]][]` or a `Map`. This is also to mitigate issues with `aot` mode. (#1213).
814
+
815
+ ## 1.0.0-beta.1
816
+
817
+ Initial upgrade to be compatible with new version of Angular (6+).
818
+
819
+ - Requires `msal@1.2.1`, `rxjs@6`, `@angular/core@>=6`, `@angular/common@>=6` as peer dependencies.
820
+ - `rxjs-compat` is no longer required by MSAL Angular.
821
+
822
+ ### Known issues
823
+
824
+ - `aot` compiling will throw errors for `new Logger()` and `new Map()` ("Function calls are not supported in decorators but 'Logger/Map' was called."). This will be addressed in a follow up release.
825
+
826
+ ## 1.0.0-alpha.1
827
+
828
+ - Requires `msal@1.2.0-beta.1`, which includes fixes for bugs with redirect methods.
829
+ - `handleRedirectCallback` will now emit events after returning from the redirect.
830
+
831
+ ## 1.0.0-alpha.0
832
+
833
+ Initial upgrade to use `msal@1.2.0`.
834
+
835
+ - `msal@1.2.0` package is now a peer dependency, and must be installed alongside `@azure/msal-angular`: `npm install msal@1.2.0 @azure/msal-angular@alpha`
836
+ - `MsalModule.forRoot` now takes two arguement.
837
+ - The first argument is the configuration object, which is the [same `Configuration` object](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-core/src/Configuration.ts) you would pass to `msal`.
838
+ - The second argument is a `MsalAngularConfiguration` object, containing the values for `consentScopes`, `popUp`, and `extraQueryParameters`.
839
+ - See the [updated sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.module.ts) for an example of how to pass these configuration objects.
840
+ - The `acquireToken` and `login` methods now take a single `AuthenticationParameters` object as parameters.
841
+ - `getUser()` is now `getAccount()`.
842
+ - Broadcast events now emit objects, instead of just strings.
843
+ - Applications using `Redirect` methods must implement the `handleRedirectCallback` method (and have it run on every page load), which will capture the result of redirect operations. See the [Angular sample](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/angular6-sample-app/src/app/app.component.ts) for an example of how to implement.
844
+
845
+ ## 0.1.4
846
+
847
+ - Fix msal-angular to transpile for IE11 compatibility: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/868
848
+ - Upgrade to msal-core version 0.2.2, namely including support for `storeAuthStateInCookie` for IE11.
849
+
850
+ ## 0.1.3
851
+
852
+ - Fix msal-angular exports to properly support IE11: https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/785
853
+ - **Note**: Unfortunately, the fix above caused breakage with `aot` compiling, so `0.1.3` has been deprecated in npm. We recommend pinning to `0.1.2` while we work on a fix. See https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/798
854
+
855
+ ## 0.1.2
856
+
857
+ - AOT fix for protectedResourceMap issue https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/407
858
+
859
+ - Broadcast message returns object
860
+
861
+ ## 0.1.1
862
+
863
+ - Fixed AOT issue https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/386
864
+
865
+ - Upgraded to latest msal-core version 0.2.1
866
+
867
+ ## 0.1.0
868
+
869
+ Preview Release