Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept bearer token over websocket for desktopplayback #37931

Closed
wants to merge 1 commit into from

Conversation

lxea
Copy link
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
@@ -851,7 +851,9 @@ func (h *Handler) bindDefaultEndpoints() {
// GET /webapi/sites/:site/desktops/:desktopName/connect?username=<username>&width=<width>&height=<height>
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
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
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.

None yet

3 participants