Skip to content

Build the Coder login UX flow #3

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

Closed
spikecurtis opened this issue Sep 19, 2024 · 2 comments · Fixed by #10
Closed

Build the Coder login UX flow #3

spikecurtis opened this issue Sep 19, 2024 · 2 comments · Fixed by #10
Assignees
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

I think for first pass we just open the browser if that's simpler

@ethanndickson
Copy link
Member

Yeah, for this beta version I think we should just open the browser and get the user to paste a token from /cli-auth.

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

Successfully merging a pull request may close this issue.

3 participants