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.