Skip to content

handleDelegatedTokenUpdate looks for the wrong property accesssToken with Triple S" #2262

@tiran133

Description

@tiran133

Initial Checklist

  • 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

A typo in the event data.

return this.userManager.updateContext(event.data.accesssToken, event.data.sessionId, false)

`accesssToken" a Triple S" typo, I guess.

Reproduction Steps

Use embed mode with delegateAuthentication and post a message with

{ name: 'opencloud-embed:update-token', data: { access_token: '<bearer-token>' } }

Expected Outcome

To be logged in.

Actual Outcome

401 unauthenticated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions