@azure/msal-browser 5.12.0 → 5.13.0

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 (245) hide show
  1. package/README.md +1 -0
  2. package/dist/app/IPublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientApplication.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +89 -16
  11. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  12. package/dist/cache/CacheHelpers.mjs +1 -1
  13. package/dist/cache/CacheKeys.mjs +1 -1
  14. package/dist/cache/CookieStorage.mjs +1 -1
  15. package/dist/cache/DatabaseStorage.mjs +1 -1
  16. package/dist/cache/EncryptedData.mjs +1 -1
  17. package/dist/cache/LocalStorage.mjs +1 -1
  18. package/dist/cache/MemoryStorage.mjs +1 -1
  19. package/dist/cache/SessionStorage.mjs +1 -1
  20. package/dist/cache/TokenCache.mjs +1 -1
  21. package/dist/config/Configuration.mjs +2 -1
  22. package/dist/config/Configuration.mjs.map +1 -1
  23. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  24. package/dist/controllers/StandardController.mjs +3 -3
  25. package/dist/controllers/StandardController.mjs.map +1 -1
  26. package/dist/crypto/BrowserCrypto.mjs +1 -1
  27. package/dist/crypto/CryptoOps.mjs +1 -1
  28. package/dist/crypto/PkceGenerator.mjs +1 -1
  29. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  30. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  31. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  32. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  33. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  50. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  51. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  52. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  53. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  54. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  55. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  56. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  57. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  58. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  59. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  60. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  61. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  62. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  63. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  64. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  65. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  66. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  67. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  68. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  69. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  70. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  71. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  72. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  73. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  74. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  75. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  76. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  77. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  78. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  79. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  80. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  81. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  82. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  83. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  84. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  85. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  86. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  87. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  88. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  89. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  90. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  91. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  92. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  93. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  94. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  95. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  96. package/dist/custom_auth/index.mjs +1 -1
  97. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  98. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  99. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  100. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  101. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  102. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  103. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  104. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  105. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  106. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  107. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  108. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  109. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  110. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  111. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  112. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  113. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  114. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  115. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  116. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  117. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  118. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  119. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  120. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  121. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  122. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  123. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  124. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  125. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  126. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  127. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  128. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  129. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  130. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  131. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  132. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  133. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  134. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  135. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  136. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  137. package/dist/encode/Base64Decode.mjs +1 -1
  138. package/dist/encode/Base64Encode.mjs +1 -1
  139. package/dist/error/BrowserAuthError.mjs +1 -1
  140. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  141. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  142. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  143. package/dist/error/NativeAuthError.mjs +1 -1
  144. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  145. package/dist/error/NestedAppAuthError.mjs +1 -1
  146. package/dist/event/EventHandler.mjs +1 -1
  147. package/dist/event/EventMessage.mjs +1 -1
  148. package/dist/event/EventType.mjs +1 -1
  149. package/dist/index.mjs +1 -1
  150. package/dist/interaction_client/BaseInteractionClient.mjs +8 -3
  151. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  152. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  153. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +4 -4
  154. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  155. package/dist/interaction_client/PopupClient.mjs +4 -4
  156. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  157. package/dist/interaction_client/RedirectClient.mjs +12 -9
  158. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  159. package/dist/interaction_client/SilentAuthCodeClient.mjs +2 -2
  160. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  161. package/dist/interaction_client/SilentCacheClient.mjs +2 -2
  162. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  163. package/dist/interaction_client/SilentIframeClient.mjs +41 -19
  164. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  165. package/dist/interaction_client/SilentRefreshClient.mjs +2 -2
  166. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  167. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  168. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  169. package/dist/interaction_handler/SilentHandler.mjs +12 -26
  170. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  171. package/dist/log-strings-mapping.json +1199 -1195
  172. package/dist/naa/BridgeError.mjs +1 -1
  173. package/dist/naa/BridgeProxy.mjs +1 -1
  174. package/dist/naa/BridgeStatusCode.mjs +1 -1
  175. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  176. package/dist/navigation/NavigationClient.mjs +1 -1
  177. package/dist/network/FetchClient.mjs +1 -1
  178. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  179. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  180. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  181. package/dist/packageMetadata.mjs +2 -2
  182. package/dist/protocol/Authorize.mjs +1 -1
  183. package/dist/redirect_bridge/index.mjs +1 -1
  184. package/dist/request/RequestHelpers.mjs +1 -1
  185. package/dist/response/ResponseHandler.mjs +1 -1
  186. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  187. package/dist/telemetry/BrowserPerformanceEvents.mjs +2 -3
  188. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  189. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  190. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  191. package/dist/utils/BrowserConstants.mjs +1 -1
  192. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  193. package/dist/utils/BrowserUtils.mjs +1 -1
  194. package/dist/utils/Helpers.mjs +1 -1
  195. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  196. package/lib/custom-auth-path/log-strings-mapping.json +7 -3
  197. package/lib/custom-auth-path/msal-custom-auth.cjs +343 -201
  198. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  199. package/lib/custom-auth-path/msal-custom-auth.js +343 -201
  200. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  201. package/lib/log-strings-mapping.json +7 -3
  202. package/lib/msal-browser.cjs +359 -204
  203. package/lib/msal-browser.cjs.map +1 -1
  204. package/lib/msal-browser.js +359 -204
  205. package/lib/msal-browser.js.map +1 -1
  206. package/lib/msal-browser.min.js +2 -2
  207. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  208. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  209. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  210. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  211. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  212. package/package.json +2 -2
  213. package/src/cache/BrowserCacheManager.ts +141 -34
  214. package/src/config/Configuration.ts +6 -0
  215. package/src/controllers/StandardController.ts +6 -6
  216. package/src/interaction_client/BaseInteractionClient.ts +12 -1
  217. package/src/interaction_client/PlatformAuthInteractionClient.ts +9 -3
  218. package/src/interaction_client/PopupClient.ts +9 -3
  219. package/src/interaction_client/RedirectClient.ts +27 -8
  220. package/src/interaction_client/SilentAuthCodeClient.ts +3 -1
  221. package/src/interaction_client/SilentCacheClient.ts +3 -1
  222. package/src/interaction_client/SilentIframeClient.ts +94 -58
  223. package/src/interaction_client/SilentRefreshClient.ts +3 -1
  224. package/src/interaction_handler/SilentHandler.ts +11 -32
  225. package/src/packageMetadata.ts +1 -1
  226. package/src/telemetry/BrowserPerformanceEvents.ts +0 -1
  227. package/types/cache/BrowserCacheManager.d.ts +18 -1
  228. package/types/cache/BrowserCacheManager.d.ts.map +1 -1
  229. package/types/config/Configuration.d.ts +5 -0
  230. package/types/config/Configuration.d.ts.map +1 -1
  231. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  232. package/types/interaction_client/BaseInteractionClient.d.ts +2 -1
  233. package/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  234. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  235. package/types/interaction_client/PopupClient.d.ts.map +1 -1
  236. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  237. package/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  238. package/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  239. package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  240. package/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  241. package/types/interaction_handler/SilentHandler.d.ts +13 -6
  242. package/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  243. package/types/packageMetadata.d.ts +1 -1
  244. package/types/telemetry/BrowserPerformanceEvents.d.ts +0 -1
  245. package/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
@@ -10,6 +10,7 @@ import {
10
10
  AccountInfo,
11
11
  UrlString,
12
12
  ServerTelemetryManager,
13
+ StubServerTelemetryManager,
13
14
  ServerTelemetryRequest,
14
15
  createClientConfigurationError,
15
16
  ClientConfigurationErrorCodes,
@@ -108,6 +109,7 @@ export function getRedirectUri(
108
109
  * @param browserStorage - Browser cache manager instance for storing telemetry data
109
110
  * @param logger - Optional logger instance for verbose logging
110
111
  * @param forceRefresh - Optional flag to force refresh of telemetry data
112
+ * @param enabled - Optional flag to enable or disable server telemetry (default: true for custom_auth flows, false for standard flows)
111
113
  * @returns Configured ServerTelemetryManager instance
112
114
  */
113
115
  export function initializeServerTelemetryManager(
@@ -116,9 +118,18 @@ export function initializeServerTelemetryManager(
116
118
  correlationId: string,
117
119
  browserStorage: BrowserCacheManager,
118
120
  logger: Logger,
119
- forceRefresh?: boolean
121
+ forceRefresh?: boolean,
122
+ enabled: boolean = true
120
123
  ): ServerTelemetryManager {
121
124
  logger.verbose("initializeServerTelemetryManager called", correlationId);
125
+ if (!enabled) {
126
+ logger.verbose(
127
+ "Server telemetry is disabled in configuration. Skipping telemetry manager initialization.",
128
+ correlationId
129
+ );
130
+ return new StubServerTelemetryManager();
131
+ }
132
+
122
133
  const telemetryPayload: ServerTelemetryRequest = {
123
134
  clientId: clientId,
124
135
  correlationId: correlationId,
@@ -177,7 +177,9 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
177
177
  this.config.auth.clientId,
178
178
  this.correlationId,
179
179
  this.browserStorage,
180
- this.logger
180
+ this.logger,
181
+ undefined,
182
+ this.config.system.serverTelemetryEnabled
181
183
  );
182
184
 
183
185
  try {
@@ -369,7 +371,9 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
369
371
  this.config.auth.clientId,
370
372
  this.correlationId,
371
373
  this.browserStorage,
372
- this.logger
374
+ this.logger,
375
+ undefined,
376
+ this.config.system.serverTelemetryEnabled
373
377
  );
374
378
  serverTelemetryManager.setNativeBrokerErrorCode(e.errorCode);
375
379
  if (isFatalNativeAuthError(e)) {
@@ -472,7 +476,9 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
472
476
  this.config.auth.clientId,
473
477
  this.correlationId,
474
478
  this.browserStorage,
475
- this.logger
479
+ this.logger,
480
+ undefined,
481
+ this.config.system.serverTelemetryEnabled
476
482
  );
477
483
  serverTelemetryManager.clearNativeBrokerErrorCode();
478
484
  this.performanceClient?.addFields(
@@ -316,7 +316,9 @@ export class PopupClient extends StandardInteractionClient {
316
316
  this.config.auth.clientId,
317
317
  this.correlationId,
318
318
  this.browserStorage,
319
- this.logger
319
+ this.logger,
320
+ undefined,
321
+ this.config.system.serverTelemetryEnabled
320
322
  );
321
323
 
322
324
  const pkce =
@@ -543,7 +545,9 @@ export class PopupClient extends StandardInteractionClient {
543
545
  this.config.auth.clientId,
544
546
  correlationId,
545
547
  this.browserStorage,
546
- this.logger
548
+ this.logger,
549
+ undefined,
550
+ this.config.system.serverTelemetryEnabled
547
551
  ),
548
552
  requestAuthority: request.authority,
549
553
  requestAzureCloudOptions: request.azureCloudOptions,
@@ -703,7 +707,9 @@ export class PopupClient extends StandardInteractionClient {
703
707
  this.config.auth.clientId,
704
708
  this.correlationId,
705
709
  this.browserStorage,
706
- this.logger
710
+ this.logger,
711
+ undefined,
712
+ this.config.system.serverTelemetryEnabled
707
713
  );
708
714
 
709
715
  try {
@@ -197,7 +197,9 @@ export class RedirectClient extends StandardInteractionClient {
197
197
  this.config.auth.clientId,
198
198
  this.correlationId,
199
199
  this.browserStorage,
200
- this.logger
200
+ this.logger,
201
+ undefined,
202
+ this.config.system.serverTelemetryEnabled
201
203
  );
202
204
 
203
205
  const pkceCodes = await invokeAsync(
@@ -417,7 +419,9 @@ export class RedirectClient extends StandardInteractionClient {
417
419
  this.config.auth.clientId,
418
420
  this.correlationId,
419
421
  this.browserStorage,
420
- this.logger
422
+ this.logger,
423
+ undefined,
424
+ this.config.system.serverTelemetryEnabled
421
425
  );
422
426
 
423
427
  const navigateToLoginRequestUrl =
@@ -455,9 +459,15 @@ export class RedirectClient extends StandardInteractionClient {
455
459
  true
456
460
  ) || "";
457
461
  const loginRequestUrlNormalized =
458
- UrlUtils.normalizeUrlForComparison(loginRequestUrl);
462
+ UrlUtils.normalizeUrlForComparison(
463
+ loginRequestUrl,
464
+ this.logger,
465
+ this.correlationId
466
+ );
459
467
  const currentUrlNormalized = UrlUtils.normalizeUrlForComparison(
460
- window.location.href
468
+ window.location.href,
469
+ this.logger,
470
+ this.correlationId
461
471
  );
462
472
 
463
473
  if (
@@ -518,8 +528,8 @@ export class RedirectClient extends StandardInteractionClient {
518
528
  * The start page is expected to also call handleRedirectPromise which will process the hash in one of the checks above.
519
529
  */
520
530
  let processHashOnRedirect: boolean = true;
521
- if (!loginRequestUrl || loginRequestUrl === "null") {
522
- // Redirect to home page if login request url is null (real null or the string null)
531
+ if (!loginRequestUrl) {
532
+ // Redirect to home page if login request url is empty
523
533
  const homepage = BrowserUtils.getHomepage();
524
534
  // Cache the homepage under ORIGIN_URI to ensure cached hash is processed on homepage
525
535
  this.browserStorage.setTemporaryCache(
@@ -820,7 +830,9 @@ export class RedirectClient extends StandardInteractionClient {
820
830
  this.config.auth.clientId,
821
831
  this.correlationId,
822
832
  this.browserStorage,
823
- this.logger
833
+ this.logger,
834
+ undefined,
835
+ this.config.system.serverTelemetryEnabled
824
836
  );
825
837
 
826
838
  try {
@@ -974,9 +986,16 @@ export class RedirectClient extends StandardInteractionClient {
974
986
  */
975
987
  protected getRedirectStartPage(requestStartPage?: string): string {
976
988
  const redirectStartPage = requestStartPage || window.location.href;
977
- return UrlString.getAbsoluteUrl(
989
+ const absoluteRedirectStartPage = UrlString.getAbsoluteUrl(
978
990
  redirectStartPage,
979
991
  BrowserUtils.getCurrentUri()
980
992
  );
993
+ // Sanity check the URL before it is cached so we never persist a malformed value (e.g. the literal string "null")
994
+ UrlUtils.validateUrl(
995
+ absoluteRedirectStartPage,
996
+ this.logger,
997
+ this.correlationId
998
+ );
999
+ return absoluteRedirectStartPage;
981
1000
  }
982
1001
  }
@@ -104,7 +104,9 @@ export class SilentAuthCodeClient extends StandardInteractionClient {
104
104
  this.config.auth.clientId,
105
105
  this.correlationId,
106
106
  this.browserStorage,
107
- this.logger
107
+ this.logger,
108
+ undefined,
109
+ this.config.system.serverTelemetryEnabled
108
110
  );
109
111
 
110
112
  try {
@@ -36,7 +36,9 @@ export class SilentCacheClient extends StandardInteractionClient {
36
36
  this.config.auth.clientId,
37
37
  this.correlationId,
38
38
  this.browserStorage,
39
- this.logger
39
+ this.logger,
40
+ undefined,
41
+ this.config.system.serverTelemetryEnabled
40
42
  );
41
43
 
42
44
  const clientConfig = await invokeAsync(
@@ -37,6 +37,7 @@ import {
37
37
  BrowserConstants,
38
38
  } from "../utils/BrowserConstants.js";
39
39
  import {
40
+ createHiddenIframe,
40
41
  initiateCodeRequest,
41
42
  initiateCodeFlowWithPost,
42
43
  initiateEarRequest,
@@ -199,7 +200,9 @@ export class SilentIframeClient extends StandardInteractionClient {
199
200
  this.config.auth.clientId,
200
201
  this.correlationId,
201
202
  this.browserStorage,
202
- this.logger
203
+ this.logger,
204
+ undefined,
205
+ this.config.system.serverTelemetryEnabled
203
206
  );
204
207
 
205
208
  try {
@@ -307,30 +310,45 @@ export class SilentIframeClient extends StandardInteractionClient {
307
310
  earJwk: earJwk,
308
311
  codeChallenge: pkceCodes.challenge,
309
312
  };
310
- const iframe = await invokeAsync(
311
- initiateEarRequest,
312
- BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
313
- this.logger,
314
- this.performanceClient,
315
- correlationId
316
- )(
317
- this.config,
318
- discoveredAuthority,
319
- silentRequest,
320
- this.logger,
321
- this.performanceClient
322
- );
313
+
314
+ // Create the iframe, register the response listener, then navigate, so the listener is active before the iframe can respond.
315
+ const iframe = createHiddenIframe();
323
316
 
324
317
  const responseType = this.config.auth.OIDCOptions.responseMode;
325
318
  let responseString: string;
326
319
  try {
327
- responseString = await invokeAsync(
320
+ const responsePromise = invokeAsync(
328
321
  this.waitForIframeResponse.bind(this),
329
322
  BrowserPerformanceEvents.SilentHandlerMonitorIframeForHash,
330
323
  this.logger,
331
324
  this.performanceClient,
332
325
  correlationId
333
326
  )(iframe, request);
327
+ responsePromise.catch(() => {
328
+ /*
329
+ * If navigation below throws before responsePromise is awaited,
330
+ * the listener still rejects on timeout. Swallow it here so it
331
+ * does not surface as an unhandled rejection; the navigation
332
+ * error is propagated instead.
333
+ */
334
+ });
335
+
336
+ await invokeAsync(
337
+ initiateEarRequest,
338
+ BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
339
+ this.logger,
340
+ this.performanceClient,
341
+ correlationId
342
+ )(
343
+ iframe,
344
+ this.config,
345
+ discoveredAuthority,
346
+ silentRequest,
347
+ this.logger,
348
+ this.performanceClient
349
+ );
350
+
351
+ responseString = await responsePromise;
334
352
  } finally {
335
353
  invoke(
336
354
  removeHiddenIframe,
@@ -363,7 +381,9 @@ export class SilentIframeClient extends StandardInteractionClient {
363
381
  this.config.auth.clientId,
364
382
  correlationId,
365
383
  this.browserStorage,
366
- this.logger
384
+ this.logger,
385
+ undefined,
386
+ this.config.system.serverTelemetryEnabled
367
387
  ),
368
388
  requestAuthority: request.authority,
369
389
  requestAzureCloudOptions: request.azureCloudOptions,
@@ -457,7 +477,9 @@ export class SilentIframeClient extends StandardInteractionClient {
457
477
  this.config.auth.clientId,
458
478
  this.correlationId,
459
479
  this.browserStorage,
460
- this.logger
480
+ this.logger,
481
+ undefined,
482
+ this.config.system.serverTelemetryEnabled
461
483
  ),
462
484
  requestAuthority: silentRequest.authority,
463
485
  requestAzureCloudOptions: silentRequest.azureCloudOptions,
@@ -571,58 +593,72 @@ export class SilentIframeClient extends StandardInteractionClient {
571
593
  codeChallenge: pkceCodes.challenge,
572
594
  };
573
595
 
574
- let iframe: HTMLIFrameElement;
575
- if (request.httpMethod === Constants.HttpMethod.POST) {
576
- iframe = await invokeAsync(
577
- initiateCodeFlowWithPost,
578
- BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
579
- this.logger,
580
- this.performanceClient,
581
- correlationId
582
- )(
583
- this.config,
584
- authClient.authority,
585
- silentRequest,
586
- this.logger,
587
- this.performanceClient
588
- );
589
- } else {
590
- // Create authorize request url
591
- const navigateUrl = await invokeAsync(
592
- Authorize.getAuthCodeRequestUrl,
593
- PerformanceEvents.GetAuthCodeUrl,
594
- this.logger,
595
- this.performanceClient,
596
- correlationId
597
- )(
598
- this.config,
599
- authClient.authority,
600
- silentRequest,
601
- this.logger,
602
- this.performanceClient
603
- );
604
-
605
- // Get the frame handle for the silent request
606
- iframe = await invokeAsync(
607
- initiateCodeRequest,
608
- BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
609
- this.logger,
610
- this.performanceClient,
611
- correlationId
612
- )(navigateUrl, this.performanceClient, this.logger, correlationId);
613
- }
596
+ // Create the iframe, register the response listener, then navigate, so the listener is active before the iframe can respond.
597
+ const iframe = createHiddenIframe();
614
598
 
615
599
  const responseType = this.config.auth.OIDCOptions.responseMode;
616
600
  // Wait for response from the redirect bridge.
617
601
  let responseString: string;
618
602
  try {
619
- responseString = await invokeAsync(
603
+ const responsePromise = invokeAsync(
620
604
  this.waitForIframeResponse.bind(this),
621
605
  BrowserPerformanceEvents.SilentHandlerMonitorIframeForHash,
622
606
  this.logger,
623
607
  this.performanceClient,
624
608
  correlationId
625
609
  )(iframe, request);
610
+ responsePromise.catch(() => {
611
+ /*
612
+ * If URL creation or navigation below throws before
613
+ * responsePromise is awaited, the listener still rejects on
614
+ * timeout. Swallow it here so it does not surface as an
615
+ * unhandled rejection; the navigation error is propagated
616
+ * instead.
617
+ */
618
+ });
619
+
620
+ if (request.httpMethod === Constants.HttpMethod.POST) {
621
+ await invokeAsync(
622
+ initiateCodeFlowWithPost,
623
+ BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
624
+ this.logger,
625
+ this.performanceClient,
626
+ correlationId
627
+ )(
628
+ iframe,
629
+ this.config,
630
+ authClient.authority,
631
+ silentRequest,
632
+ this.logger,
633
+ this.performanceClient
634
+ );
635
+ } else {
636
+ // Create authorize request url
637
+ const navigateUrl = await invokeAsync(
638
+ Authorize.getAuthCodeRequestUrl,
639
+ PerformanceEvents.GetAuthCodeUrl,
640
+ this.logger,
641
+ this.performanceClient,
642
+ correlationId
643
+ )(
644
+ this.config,
645
+ authClient.authority,
646
+ silentRequest,
647
+ this.logger,
648
+ this.performanceClient
649
+ );
650
+
651
+ // Navigate the iframe to the authorize request url
652
+ await invokeAsync(
653
+ initiateCodeRequest,
654
+ BrowserPerformanceEvents.SilentHandlerInitiateAuthRequest,
655
+ this.logger,
656
+ this.performanceClient,
657
+ correlationId
658
+ )(iframe, navigateUrl, this.logger, correlationId);
659
+ }
660
+
661
+ responseString = await responsePromise;
626
662
  } finally {
627
663
  invoke(
628
664
  removeHiddenIframe,
@@ -68,7 +68,9 @@ export class SilentRefreshClient extends StandardInteractionClient {
68
68
  this.config.auth.clientId,
69
69
  this.correlationId,
70
70
  this.browserStorage,
71
- this.logger
71
+ this.logger,
72
+ undefined,
73
+ this.config.system.serverTelemetryEnabled
72
74
  );
73
75
 
74
76
  const refreshTokenClient = await this.createRefreshTokenClient({
@@ -6,11 +6,9 @@
6
6
  import {
7
7
  Logger,
8
8
  IPerformanceClient,
9
- invoke,
10
9
  Authority,
11
10
  CommonAuthorizationUrlRequest,
12
11
  } from "@azure/msal-common/browser";
13
- import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
14
12
  import {
15
13
  createBrowserAuthError,
16
14
  BrowserAuthErrorCodes,
@@ -19,13 +17,13 @@ import { BrowserConfiguration } from "../config/Configuration.js";
19
17
  import { getCodeForm, getEARForm } from "../protocol/Authorize.js";
20
18
 
21
19
  /**
22
- * Creates a hidden iframe to given URL using user-requested scopes as an id.
23
- * @param urlNavigate
24
- * @param userRequestScopes
20
+ * Navigates the given hidden iframe to the provided URL.
21
+ * @param frame
22
+ * @param requestUrl
25
23
  */
26
24
  export async function initiateCodeRequest(
25
+ frame: HTMLIFrameElement,
27
26
  requestUrl: string,
28
- performanceClient: IPerformanceClient,
29
27
  logger: Logger,
30
28
  correlationId: string
31
29
  ): Promise<HTMLIFrameElement> {
@@ -35,23 +33,18 @@ export async function initiateCodeRequest(
35
33
  throw createBrowserAuthError(BrowserAuthErrorCodes.emptyNavigateUri);
36
34
  }
37
35
 
38
- return invoke(
39
- loadFrameSync,
40
- BrowserPerformanceEvents.SilentHandlerLoadFrameSync,
41
- logger,
42
- performanceClient,
43
- correlationId
44
- )(requestUrl);
36
+ frame.src = requestUrl;
37
+ return frame;
45
38
  }
46
39
 
47
40
  export async function initiateCodeFlowWithPost(
41
+ frame: HTMLIFrameElement,
48
42
  config: BrowserConfiguration,
49
43
  authority: Authority,
50
44
  request: CommonAuthorizationUrlRequest,
51
45
  logger: Logger,
52
46
  performanceClient: IPerformanceClient
53
47
  ): Promise<HTMLIFrameElement> {
54
- const frame = createHiddenIframe();
55
48
  if (!frame.contentDocument) {
56
49
  throw "No document associated with iframe!";
57
50
  }
@@ -68,13 +61,13 @@ export async function initiateCodeFlowWithPost(
68
61
  }
69
62
 
70
63
  export async function initiateEarRequest(
64
+ frame: HTMLIFrameElement,
71
65
  config: BrowserConfiguration,
72
66
  authority: Authority,
73
67
  request: CommonAuthorizationUrlRequest,
74
68
  logger: Logger,
75
69
  performanceClient: IPerformanceClient
76
70
  ): Promise<HTMLIFrameElement> {
77
- const frame = createHiddenIframe();
78
71
  if (!frame.contentDocument) {
79
72
  throw "No document associated with iframe!";
80
73
  }
@@ -92,25 +85,11 @@ export async function initiateEarRequest(
92
85
 
93
86
  /**
94
87
  * @hidden
95
- * Loads the iframe synchronously when the navigateTimeFrame is set to `0`
96
- * @param urlNavigate
97
- * @param frameName
98
- * @param logger
99
- */
100
- function loadFrameSync(urlNavigate: string): HTMLIFrameElement {
101
- const frameHandle = createHiddenIframe();
102
-
103
- frameHandle.src = urlNavigate;
104
-
105
- return frameHandle;
106
- }
107
-
108
- /**
109
- * @hidden
110
- * Creates a new hidden iframe or gets an existing one for silent token renewal.
88
+ * Creates a new hidden iframe for silent token renewal. Callers navigate it
89
+ * (set `src` or submit a form) after registering the response listener.
111
90
  * @ignore
112
91
  */
113
- function createHiddenIframe(): HTMLIFrameElement {
92
+ export function createHiddenIframe(): HTMLIFrameElement {
114
93
  const authFrame = document.createElement("iframe");
115
94
 
116
95
  authFrame.className = "msalSilentIframe";
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable header/header */
2
2
  export const name = "@azure/msal-browser";
3
- export const version = "5.12.0";
3
+ export const version = "5.13.0";
@@ -121,7 +121,6 @@ export const SilentHandlerInitiateAuthRequest =
121
121
  export const SilentHandlerMonitorIframeForHash =
122
122
  "silentHandlerMonitorIframeForHash";
123
123
  export const SilentHandlerLoadFrame = "silentHandlerLoadFrame";
124
- export const SilentHandlerLoadFrameSync = "silentHandlerLoadFrameSync";
125
124
 
126
125
  /**
127
126
  * Helper functions in StandardInteractionClient class (msal-browser)
@@ -15,6 +15,23 @@ import { EncryptedData } from "./EncryptedData.js";
15
15
  type KmsiMap = {
16
16
  [homeAccountId: string]: boolean;
17
17
  };
18
+ /**
19
+ * Reason an old-schema cache entry was removed during migration.
20
+ */
21
+ declare const MigrationRemovalReason: {
22
+ readonly Invalid: "invalid";
23
+ readonly TtlExpired: "ttlExpired";
24
+ readonly DecryptFailed: "decryptFailed";
25
+ readonly Expired: "expired";
26
+ };
27
+ type MigrationRemovalReason = (typeof MigrationRemovalReason)[keyof typeof MigrationRemovalReason];
28
+ type UpdateOldEntryResult = {
29
+ entry: CredentialEntity;
30
+ removalReason?: undefined;
31
+ } | {
32
+ entry: null;
33
+ removalReason: MigrationRemovalReason;
34
+ };
18
35
  /**
19
36
  * This class implements the cache storage interface for MSAL through browser local or session storage.
20
37
  */
@@ -38,7 +55,7 @@ export declare class BrowserCacheManager extends CacheManager {
38
55
  * @param correlationId
39
56
  * @returns
40
57
  */
41
- updateOldEntry(key: string, correlationId: string): Promise<CredentialEntity | null>;
58
+ updateOldEntry(key: string, correlationId: string): Promise<UpdateOldEntryResult>;
42
59
  /**
43
60
  * Remove accounts from the cache for older schema versions if they have not been updated in the last cacheRetentionDays
44
61
  * @param accountSchema
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserCacheManager.d.ts","sourceRoot":"","sources":["../../src/cache/Brow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,wBAAwB,IAAI;QACxB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,gBAAgB,CAAC;KAC1B,GAAG,IAAI;IAkBR,wBAAwB,CACpB,UAAU,EAAE,OAAO,EACnB,IAAI,GAAE,gBAA0C,EAChD,aAAa,GAAE,OAAe,EAC9B,aAAa,GAAE,MAAW,GAC3B,IAAI;IAwCP;;;;OAIG;IACG,YAAY,CACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAwDhB;;;;;OAKG;IACG,eAAe,CACjB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,YAAY,GAC5B,OAAO,CAAC,IAAI,CAAC;CAgCnB;AA6BD,eAAO,MAAM,6BAA6B,aAC5B,MAAM,UACR,MAAM,qBACK,kBAAkB,gBACvB,YAAY,KAC3B,mBAaF,CAAC"}
@@ -132,6 +132,11 @@ export type BrowserSystemOptions = SystemOptions & {
132
132
  * Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
133
133
  */
134
134
  protocolMode?: ProtocolMode;
135
+ /**
136
+ * @deprecated This option will be removed in a future release.
137
+ * Flag to enable emitting telemetry to the STS. When disabled, failed requests are not cached to browser storage and x-client-current-telemetry, x-client-last-telemetry parameters are not sent to the STS. Defaults to false.
138
+ */
139
+ serverTelemetryEnabled?: boolean;
135
140
  };
136
141
  /** @internal */
137
142
  export type BrowserExperimentalOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,WAAW,EAIX,iBAAiB,EACjB,oBAAoB,EAGpB,kBAAkB,EAIrB,MAAM,4BAA4B,C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YAAY,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC9B,MAAM,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IACvC,YAAY,EAAE,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IACnD,SAAS,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;CAChD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,EACI,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,eAAe,EACvB,YAAY,EAAE,qBAAqB,EACnC,SAAS,EAAE,kBAAkB,GAChC,EAAE,aAAa,EAChB,oBAAoB,EAAE,OAAO,GAC9B,oBAAoB,CAuItB"}
@@ -23,7 +23,7 @@ export declare const CustomHeaderConstants: {
23
23
  };
24
24
  export declare const DefaultPackageInfo: {
25
25
  readonly SKU: "msal.browser";
26
- readonly VERSION: "5.12.0";
26
+ readonly VERSION: "5.13.0";
27
27
  readonly OS: "";
28
28
  readonly CPU: "";
29
29
  };