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
update-token message without data throws in delegated embed mode #4198
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
In delegated-auth embed mode, an opencloud-embed:update-token message without data throws an uncaught error. oidcCallback.vue reads event.data.data.access_token without a guard, while authService.handleDelegatedTokenUpdate already guards it.
Reproduction Steps
Embed the app with embed=true&embed-delegate-authentication=true
Answer opencloud-embed:request-token with { name: 'opencloud-embed:update-token' } (no data)
Expected Outcome
The message is ignored.
Actual Outcome
Cannot read properties of undefined (reading 'access_token')
Activity