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

Build Coder login flow #1

Open
spikecurtis opened this issue Sep 19, 2024 · 1 comment
Open

Build Coder login flow #1

spikecurtis opened this issue Sep 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@spikecurtis
Copy link
Collaborator

On starting Coder Desktop, we prompt the user to log into their Coder deployment.

We should use the native UI kit for this initial version.

Image

We should attempt to read the Coder URL from the CLI config directory, if present, and autofill the URL box. We should still prompt for confirmation.

Image

This is based on the usual Coder login. Alternatively, we could bounce the user to the default browser to log in on the web, and pass the API key back to the Coder Desktop app via a socket on localhost.

@sreya
Copy link

sreya commented Sep 19, 2024

Similar to the windows issue we can probably just default to the browser flow if it's simpler

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

No branches or pull requests

2 participants