Skip to content

Accept bearer token over websocket for desktopplayback#37931

Closed
lxea wants to merge 1 commit intomasterfrom
lxea/wsbt-fix
Closed

Accept bearer token over websocket for desktopplayback#37931
lxea wants to merge 1 commit intomasterfrom
lxea/wsbt-fix

Conversation

@lxea
Copy link
Copy Markdown
Contributor

@lxea lxea commented Feb 8, 2024

No description provided.

@lxea lxea requested a review from zmb3 February 8, 2024 17:02
@lxea lxea added the no-changelog Indicates that a PR does not require a changelog entry label Feb 8, 2024
@gravitational gravitational deleted a comment from github-actions Bot Feb 8, 2024
Comment thread lib/web/desktop_playback.go
Comment thread lib/web/apiserver.go
h.GET("/webapi/sites/:site/desktops/:desktopName/connect/ws", h.WithClusterAuthWebSocket(true, h.desktopConnectHandle))
// GET /webapi/sites/:site/desktopplayback/:sid?access_token=<bearer_token>
h.GET("/webapi/sites/:site/desktopplayback/:sid", h.WithClusterAuth(h.desktopPlaybackHandle))
h.GET("/webapi/sites/:site/desktopplayback/:sid", h.WithClusterAuthWebSocket(false, h.desktopPlaybackHandle))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a TODO or DELETE IN marker here?

@ibeckermayer
Copy link
Copy Markdown
Contributor

closed in favor of #37981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants