Update headless authentication instructions
This commit is contained in:
parent
5b872e7397
commit
b48237aa59
1 changed files with 3 additions and 3 deletions
|
|
@ -66,9 +66,9 @@ func (oa *OAuthFlow) ObtainAccessToken() (accessToken string, err error) {
|
|||
fmt.Fprintf(os.Stderr, "Please open the following URL manually:\n%s\n", startURL)
|
||||
fmt.Fprintf(os.Stderr, "")
|
||||
// TODO: Temporary workaround for https://github.com/cli/cli/issues/297
|
||||
fmt.Fprintf(os.Stderr, "If you are on a server or other headless system, use this workaround instead:")
|
||||
fmt.Fprintf(os.Stderr, " 1. Complete authentication on a GUI system")
|
||||
fmt.Fprintf(os.Stderr, " 2. Copy the contents of ~/.config/gh/config.yml to this system")
|
||||
fmt.Fprintf(os.Stderr, "If you are on a server or other headless system, use this workaround instead:\n")
|
||||
fmt.Fprintf(os.Stderr, " 1. Complete authentication on a GUI system;\n")
|
||||
fmt.Fprintf(os.Stderr, " 2. Copy the contents of `~/.config/gh/hosts.yml` to this system.\n")
|
||||
}
|
||||
|
||||
_ = http.Serve(listener, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue