Skip to content

fix(web-runtime): cache embed query params across config reloads#1977

Open
dschmidt wants to merge 1 commit intoopencloud-eu:next-release/stable-4.2from
dschmidt:fix/embed-config-query-param-loss
Open

fix(web-runtime): cache embed query params across config reloads#1977
dschmidt wants to merge 1 commit intoopencloud-eu:next-release/stable-4.2from
dschmidt:fix/embed-config-query-param-loss

Conversation

@dschmidt
Copy link
Contributor

@dschmidt dschmidt commented Feb 13, 2026

Description

announceConfiguration is called twice: once during bootstrap and again when userContextReady fires. By the second call the delegated-auth callback has navigated away from the initial /?embed=true&… URL, so getQueryParam('embed') returns null and embed mode is silently disabled.

Cache the derived embed config on the first call and return the snapshot on subsequent invocations.

Related Issue

  • Fixes <issue_link>

How Has This Been Tested?

It's hard to setup a reproduction environment for this and also it's very late ... let's talk about it tomorrow

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

announceConfiguration is called twice: once during bootstrap and again
when userContextReady fires. By the second call the delegated-auth
callback has navigated away from the initial /?embed=true&… URL, so
getQueryParam('embed') returns null and embed mode is silently disabled.

Cache the derived embed config on the first call and return the snapshot
on subsequent invocations.
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.

1 participant