Skip to content

Embed mode: delegated tokens are only accepted from the direct parent - #1303

Merged
AlexAndBear merged 1 commit into
mainfrom
docs/embed-token-direct-parent
Nov 5, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
docs/embed-token-direct-parent

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Adds a short note to the delegated authentication section: the embedding page has to send the token to the iframe itself, tokens from other windows are ignored. Goes with opencloud-eu/web#4297, so it's only in the current docs, not in the versioned ones.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the documentation clarification of the direct-parent token-messaging requirement.

No open issues 🎉

What changed in this PR

Clarifies delegated authentication in embed mode to document the direct-parent restriction associated with opencloud-eu/web#4297.

Changes:

  • Adds a note that the embedding page must send tokens directly to the iframe; messages from other windows are ignored.
  • Updates only the current documentation, leaving versioned docs unchanged.
File Description
docs/​dev/​web/​embed-mode.md Documents the direct-parent requirement and iframe.contentWindow.postMessage usage.

Review effort: Balanced

@AlexAndBear
AlexAndBear merged commit 7db6fb3 into main Nov 5, 2026
5 checks passed
@AlexAndBear
AlexAndBear deleted the docs/embed-token-direct-parent branch November 5, 2026 10:20
@openclouders openclouders mentioned this pull request Nov 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants