You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Embed mode with delegated authentication: every postMessage throws and token updates are never applied #3657
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Embed mode with delegated authentication: every postMessage throws and token updates are never applied. Cause: packages/web-runtime/src/services/auth/authService.ts:279 registers this.handleDelegatedTokenUpdate unbound, so this.configStore (:424) is undefined.
Reproduction Steps
A host page iframes /?embed=true&embed-delegate-authentication=true and answers opencloud-embed:request-token. Login works.
The host sends opencloud-embed:update-token with a new token, or any other message.
Expected Outcome
The token is updated; unrelated messages are ignored.
Actual Outcome
Every message throws Cannot read properties of undefined (reading 'options') and the token is never updated, so the embed stops working when the first token expires.
Activity