Skip to content

Commit 031e6ec

Browse files
authored
Added classname for silent token renewal iframe (#6985)
Porting change from v2 PR: #6960
1 parent 6232735 commit 031e6ec

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Add classname to silent token renewal iframe HTML element #6985",
4+
"packageName": "@azure/msal-browser",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

lib/msal-browser/src/interaction_handler/SilentHandler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ function loadFrameSync(urlNavigate: string): HTMLIFrameElement {
195195
function createHiddenIframe(): HTMLIFrameElement {
196196
const authFrame = document.createElement("iframe");
197197

198+
authFrame.className = "msalSilentIframe";
198199
authFrame.style.visibility = "hidden";
199200
authFrame.style.position = "absolute";
200201
authFrame.style.width = authFrame.style.height = "0";

0 commit comments

Comments
 (0)