Jesse Suen
dc662da3d6
Support OAuth2 login flow from CLI ( resolves #172 ) ( #181 )
...
* Support OAuth2 login flow from CLI (resolves #172 )
* Refactor SessionManager to handle local and OAuth2 logins.
* argo login will request permanent credentials after OAuth2 flow
* Implement proper OIDC app state nonce. Add explicit `--sso` flag to `argo login`
2018-05-10 15:43:58 -07:00
Alexander Matyushentsev
11260f2476
Don't ask for user credentials if username and password are specified as arguments ( #129 )
...
* Don't ask for user credentials if username and password are specified as arguments
* Add cli image make target
* Don't re-prompt username/password in PromptCredentials
2018-04-25 14:18:30 -07:00
Jesse Suen
938f40e817
Prompting for repo credentials was accepting newline as username
2018-04-25 00:07:09 -07:00
Andrew Merenbach
685a814f38
Add argocd login command ( #82 )
...
* Add auth check and bypass for authentication
* Disallow blank passwords
* Mitigate timing attacks
* Factor out authentication/token gen code
* Tweaked token validation code to log claims
* Add missing internal gRPC client endpoints
* Add first draft of login command
* Add login command to root commands
* Get login working
* Generalize command utils for unmarshaling
* Centralize utils for CLI YAML/JSON parsing
* Read/write local config now
* Initialize map
* Revert server files for now
* Fix casing
* Restore commented test, thanks @alexmt
* No need to mitigate timing attacks on blank passwords, thanks @alexmt
* Rm redundant type declaration, thanks @alexmt
* Improve error checks
* Rm unnecessary conversion, thanks @alexmt
* Fix comment
* Don't return error when config doesn't exist
2018-04-11 17:01:58 -07:00
Jesse Suen
cc232a4dc6
Rewrite installer. Install into argocd namespace. Standardize kubeconfig parsing
2018-03-02 18:04:29 -08:00
Jesse Suen
d7d7821c3e
Support persistence of repos as secrets
2018-02-21 03:01:43 -08:00