Mislav Marohnić
cfddda8829
Indicate workflow scope is GHE 3.0+ only during auth login
2021-02-23 10:52:29 +01:00
Mislav Marohnić
f807795491
Fix pasting Personal Access Token to auth login for GHE
2021-02-23 10:19:11 +01:00
Mislav Marohnić
1a9e42ed55
Add ssh-key add command and publish ssh-key
2021-02-17 19:46:59 +01:00
Mislav Marohnić
4a49e3526c
Merge remote-tracking branch 'origin' into writeorg-oauth-scope
2021-02-17 17:11:24 +01:00
Mislav Marohnić
b4bf8cda8d
Close pubkey file after reading
2021-02-17 17:01:14 +01:00
Mislav Marohnić
87fcda5fbc
Add tests for SSH login flow
2021-02-17 16:52:40 +01:00
Mislav Marohnić
9550ad0159
Tweak prompt for SSH passphrase
...
Co-authored-by: Amanda Pinsker <ampinsk@github.com>
2021-02-05 10:16:42 +01:00
Mislav Marohnić
1bd6d7b36c
Extract parts of HTTPS-related setup shared between login and refresh
2021-02-04 18:36:42 +01:00
Mislav Marohnić
5a110c8e42
Add SSH key generation & uploading to gh auth login flow
2021-02-01 23:34:00 +01:00
Mislav Marohnić
c9407b2629
More descriptive error when aborting auth due to environment variables
...
Old message:
read-only token in GH_TOKEN cannot be modified
This message was vague and some users did not understand that this
refers to the value that is read from environment variables.
New message:
$ GH_TOKEN=123 ghd auth login -h github.com
The value of the GH_TOKEN environment variable is being used for authentication.
To have GitHub CLI store credentials instead, first clear the value from the environment.
2021-01-20 18:27:35 +01:00
Mislav Marohnić
381e83e6e5
Extend git credential prompt to auth refresh
2020-12-07 20:01:16 +01:00
Mislav Marohnić
c39dc28fa1
Rename auth/client to auth/shared
2020-12-07 17:08:42 +01:00