Skip to content

RDP-specific Coder Desktop deep link #52

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

Open
ThomasK33 opened this issue Mar 11, 2025 · 2 comments
Open

RDP-specific Coder Desktop deep link #52

ThomasK33 opened this issue Mar 11, 2025 · 2 comments
Assignees

Comments

@ThomasK33
Copy link
Member

Add RDP-specific logic into Coder Desktop so that all coder apps marked with external=true and a URL matching to coder:/v0/open/agent/<agent ID>/rdp?username=<username>&password=<passwpord> will be rendered as buttons and have RDP-specific logic in place. This logic can include fetching additional information or credentials in Coder Desktop and creating an .rdp file or comparable integrations.

spikecurtis added a commit that referenced this issue Apr 22, 2025
relates to #52

Adds support for Coder Desktop to handle the `coder:/` URI scheme by registering for this scheme and forwarding activations to the single instance of Coder Desktop.

Also removes the `Package.appxmanifest`. It is unused since Coder Desktop is not a packaged app.
@spikecurtis
Copy link
Collaborator

Thinking about this a bit more, I think the URI format should be:

coder://coder.example.com/v0/open/ws/<workspace-name>/agent/<agent-name>/rdp?username=<username>&password=<password>

We should include the authority, so that if you have multiple Coder deployments and you click a link from one of them, and Coder Desktop is signed into a different one, the you can get a sensible error.

We should prefer name references over UUIDs, so that it's possible to bookmark. If we used Agent UUIDs, the link would break as soon as we rebuild.

@matifali
Copy link
Member

matifali commented May 2, 2025

We should include the authority, so that if you have multiple Coder deployments and you click a link from one of them, and Coder Desktop is signed into a different one, the you can get a sensible error.

This is a good addition. It would help provide better self-troubleshooting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants