Skip to content

Update IAM SDK and detect iframe CSP blocking for IDV workflows#28

Open
karissarjacobsen wants to merge 1 commit into
mainfrom
iam-sdk-update
Open

Update IAM SDK and detect iframe CSP blocking for IDV workflows#28
karissarjacobsen wants to merge 1 commit into
mainfrom
iam-sdk-update

Conversation

@karissarjacobsen

Copy link
Copy Markdown
Contributor

Upgrades @docusign/iam-sdk to beta.8, renames maestro references to workflow builder, and adds detection for workflows that cannot be embedded (e.g. IDV). Uses ReportingObserver to catch CSP frame-ancestors violations and automatically opens blocked workflows in a new tab.

Upgrades @docusign/iam-sdk to beta.8, renames maestro references to
workflow builder, and adds detection for workflows that cannot be
embedded (e.g. IDV). Uses ReportingObserver to catch CSP frame-ancestors
violations and automatically opens blocked workflows in a new tab.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
/>
<p>This workflow cannot be embedded and has been opened in a new tab.</p>
<p>Complete your tasks in the new tab, then click Done to return.</p>
<a href={triggerUrl} target="_blank" rel="noopener noreferrer">
<iframe src={triggerUrl} width="800" height="600">
</iframe>
</div>
<iframe src={triggerUrl} width="800" height="600" onLoad={handleIframeLoad}>
useEffect(() => {
if (embeddingFailed && triggerUrl && !hasOpenedNewTab.current) {
hasOpenedNewTab.current = true;
childWindowRef.current = window.open(triggerUrl, '_blank');
/>
<p>This workflow cannot be embedded and has been opened in a new tab.</p>
<p>Complete your tasks in the new tab, then click Done to return.</p>
<a href={triggerUrl} target="_blank" rel="noopener noreferrer">
<iframe src={triggerUrl} width="800" height="600">
</iframe>
</div>
<iframe src={triggerUrl} width="800" height="600" onLoad={handleIframeLoad}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants