Skip to content

fix: ignore update-token messages without an access token in delegated embed mode - #4215

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/embed-update-token-guard
Nov 6, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/embed-update-token-guard

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

In delegated embed mode, an update-token message without data or without an access token is now ignored instead of throwing, so a later valid message still signs in.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: messages without data or with empty data are ignored and a later valid one still signs in
  • test case 2: browser: delegated embed receiving malformed messages before a valid one, valid message only, normal login

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)

@AlexAndBear
AlexAndBear force-pushed the fix/embed-update-token-guard branch from 6f0ba62 to 2e17693 Compare November 5, 2026 13:46
@AlexAndBear
AlexAndBear merged commit 01da3b0 into main Nov 6, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/embed-update-token-guard branch November 6, 2026 11:11
@openclouders openclouders mentioned this pull request Nov 6, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update-token message without data throws in delegated embed mode

2 participants