Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CLI support for login #210

Closed
Closed
@misskniss

Description

@misskniss

@kylecarbs and I (Bryan) discussed the implementation for this a bit - we were considering either the same flow as in v1, or an alternative 'paste-less' flow.

next / Vercel has a really cool paste-less flow that looks like this:

Browser redirects to https://vercel.com/cli-login-success and tells the user browser can be closed

However, we realized this is problematic in some environments - like using coder over SSH, because the local server being hosted wouldn't be available on the host machine, and the redirect flow would be busted.

So our plan is to stick with the same strategy of v1:

  • Send the user to a special page that presents the session token via copy/paste
  • Have the user enter it in the CLI directly

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIsiteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions