1
0
mirror of https://github.com/smallstep/cli.git synced 2025-08-07 16:02:54 +03:00

86 Commits

Author SHA1 Message Date
Filippo Tessarotto
c262b333b4 Describe defined values for --prompt 2021-02-17 08:31:53 +01:00
Filippo Tessarotto
0fad6617e8 OAUTH: add --prompt option for Authentication Request 2021-02-17 08:31:53 +01:00
Mike Malone
43b9710023 fixed typo 2021-01-29 14:00:53 -08:00
Mike Malone
08014870ab Allow configuration of browser used for OAuth on macOS. 2021-01-29 13:48:10 -08:00
Mariano Cano
b10e9a3b95 Unify the way flags are presented in markdown files. 2020-10-01 17:06:44 -07:00
Mariano Cano
7061940e7e Unify the way the flags are printed in markdown files. 2020-10-01 17:01:33 -07:00
Mariano Cano
3ef79b95e0 Minor tweaks for online docs. 2020-09-30 13:02:30 -07:00
yiwata
0e30694164 Trim trailing newlines from verification code using "--console"
Fixes #312
2020-07-08 08:48:03 +09:00
Mariano Cano
dbae19a43e Add some docs to the oauth command. 2020-05-05 15:23:05 -07:00
Mariano Cano
1b5697ee0b Redirect to localhost using the --listen flag.
Some IdPs do not support the recommended 127.0.0.1, and only support
localhost as redirect uri. This change allows to run use localhost
with `step oauth --listen localhost:0`.

Fixes #169
2020-05-05 14:10:09 -07:00
David Cowden
26dc7e79f3 oauth: Add terminal redirect URL option
Add a `--redirect-url` string option to the boostrap command that allows
the terminal redirect in the OAuth flow to be configured. This is useful
if you want to display a more interesting page than the locally hosted
basebones "Success" page.

If the user configures step-cli using the `ssh config` command and
passes the `--team` option, set the redirect url to:

    https://smallstep.com/app/teams/sso/success

so that the flow ends on a page that instructs users on what to do next.
2020-01-28 13:34:00 -08:00
Mariano Cano
3c4aa2228d Fix lint errors. 2020-01-28 13:34:00 -08:00
Alan Christopher Thomas
bbf25ede72 Redirect to hosted sso success page after oauth flow 2020-01-28 13:34:00 -08:00
Mariano Cano
27d69966c2 Add support for listenAddress from the CA in OIDC provisioners.
Fixes #150
2019-09-18 15:26:04 -07:00
max furman
4fcf70192f Support console mode in step ca [sign|certificate]
* Fixes #132
2019-08-27 13:10:00 -07:00
max furman
e49b733fbf switch to golangci-lint and fix lots of linting errors 2019-08-26 19:04:54 -07:00
jibin george
8ba584f772 review changes 2019-07-27 08:06:33 +05:30
jibin george
abfcda25b7 Added configurable callback listener
Add cli flag to configure callback listener's port. default
127.0.0.1:8080
2019-07-26 19:55:24 +05:30
Mariano Cano
2f4c18d2f0 Use standard x509 package. 2019-03-20 17:02:52 -07:00
Mariano Cano
64066b65cd Use S256 as the code challenge method. 2019-03-15 11:52:14 -07:00
Mariano Cano
869f5aedaf Hide implicit flow and remove implicit client. 2019-03-15 11:41:56 -07:00
Mariano Cano
46c049f353 Require insecure for the implicit flow. 2019-03-15 11:29:13 -07:00
Mariano Cano
a847212395 Add support for an implicit flow. 2019-03-14 18:07:51 -07:00
Mariano Cano
2e33728b6a Add nonce to protect an oidc token agains reuse. 2019-03-12 15:44:19 -07:00
Mariano Cano
558e5e8c0e Fixes #29: skip or log unexpected requests to the oauth server.
Returns 404 for requests to invalid paths.
Add error messages to unexpected requests to /.
2018-10-01 12:03:05 -07:00
Jay Gabriels
6504ca702b add a more descriptive error message when request for robots.txt 2018-09-28 20:32:41 -07:00
Jay Gabriels
c637430e9f add logging for invalid http requests into the oauth server
Log HTTP requests to OAuth HTTP server #29
2018-09-28 19:52:55 -07:00
Mariano Cano
dccb3e1a5f Add missing return statement. 2018-09-19 14:52:31 -07:00
Kyle Neath
9c92b02ac7 Tweak spelling & style of oauth pages 2018-08-16 14:37:57 -07:00
Kyle Neath
f5897edc54 Style oauth success/failure html page 2018-08-16 14:32:27 -07:00
Mariano Cano
d68fbd2ada Change oauth usage. 2018-08-06 14:31:36 -07:00
max furman
75e2f7f4ed able to create x509 w/ *25519 keys 2018-07-26 20:57:48 -07:00
max furman
8d079778d5 markdown formatting | deadcode removal from errs 2018-07-19 16:27:44 -07:00
Mariano Cano
c78db17870 Rename randutil methods. 2018-07-19 15:28:31 -07:00
Mariano Cano
38b40b83cb Move random utilities to crypto/randutil package. 2018-07-19 14:56:36 -07:00
Mariano Cano
c58db6b98b Initial commit 2018-07-17 16:06:17 -07:00