Default HTML attributes applied to every hidden iframe created by
createHiddenFrame and used internally by runIframe.
These attributes control accessibility and identification of the iframe
used during silent authentication and session-related operations.
Customization
This object is intentionally mutable and acts as a global extension point.
Applications may modify or extend the attributes to adjust how the iframe is
rendered—for example, to add monitoring hooks, test selectors, or custom
accessibility attributes.
Modifications must be applied before any iframe-related OIDCClient
methods are called (such as OIDCClient.silentLogin), because each
iframe is created using a snapshot of DefaultIframeAttributes at creation time.
Default HTML attributes applied to every hidden iframe created by createHiddenFrame and used internally by runIframe.
These attributes control accessibility and identification of the iframe used during silent authentication and session-related operations.
Customization
This object is intentionally mutable and acts as a global extension point. Applications may modify or extend the attributes to adjust how the iframe is rendered—for example, to add monitoring hooks, test selectors, or custom accessibility attributes.
Modifications must be applied before any iframe-related
OIDCClientmethods are called (such as OIDCClient.silentLogin), because each iframe is created using a snapshot ofDefaultIframeAttributesat creation time.Example: Adding a custom attribute
Typical use cases include:
data-*attributes for debugging or testing