From 9c4426c37d519cf30ecde34b5ae0e996dd583836 Mon Sep 17 00:00:00 2001 From: rmca14 <10053959+rmca14@users.noreply.github.com> Date: Mon, 4 May 2026 16:48:42 -0700 Subject: [PATCH] Test PR - do not merge --- msal-javascript-conceptual/angular/avoid-page-reloads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msal-javascript-conceptual/angular/avoid-page-reloads.md b/msal-javascript-conceptual/angular/avoid-page-reloads.md index 3ee79a8..ead9676 100644 --- a/msal-javascript-conceptual/angular/avoid-page-reloads.md +++ b/msal-javascript-conceptual/angular/avoid-page-reloads.md @@ -14,7 +14,7 @@ ms.topic: how-to --- # Avoid page reloads when acquiring and renewing tokens silently using MSAL.js -The Microsoft Authentication Library for JavaScript (MSAL.js) uses hidden `iframe` elements to acquire and renew tokens silently in the background. Microsoft Entra ID returns the token back to the registered `redirect_uri` specified in the token request(by default this is the app's root page). Since the response is a 302, it results in the HTML corresponding to the `redirect_uri` getting loaded in the `iframe`. Usually the app's `redirect_uri` is the root page and this causes it to reload. +The Microsoft Authentication Library for JavaScript (MSAL.js) uses hidden `iframe` elements to acquire and renew tokens silently in the background. Microsoft Entra ID returns the token back to the registered `redirect_uri` specified in the token request(by default this is the app's root page). Since the response is a 302, it results in the HTML corresponding to the `redirect_uri` getting loaded in the `iframe`. Usually the app's `redirect_uri` is the root page and this causes it to reload. test PR In other cases, if navigating to the app's root page requires authentication, it might lead to nested `iframe` elements or `X-Frame-Options: deny` error.