Commit Graph

21 Commits

Author SHA1 Message Date
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
aeneasr 937e6baabf fix: resolve internal SDK regressions 2022-09-07 08:10:31 +02:00
aeneasr bb9c8ba4f7 feat(cli): significantly improved `create client`
This patch adds output formats to `hydra create client` and makes all client fields configurable as flags.

Closes #3091
2022-09-07 08:10:31 +02:00
aeneasr 883a84f887 fix: better http resiliency and sqlite updates 2021-03-08 17:24:00 +01:00
Dexter Chua 6999a82d0f
feat: allow unix socket as --endpoint (#1899) 2020-06-15 14:13:01 +02:00
aeneasr f1c926bd72 fix: Resolve linter complaints 2020-02-03 14:58:00 +01:00
aeneasr c499e52bbc
Implement new SDK pipeline (interim)
This is an interim commit that got pushed to master by the CI on accident.
2020-01-07 16:12:18 +01:00
hackerman d84ff4c5b9
cmd: Add resilience to CLI REST commands (#1359)
Closes #846

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-15 15:47:43 +02:00
hackerman 6829a58622
sdk: Move to go-swagger code generator (#1347)
Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-09 13:24:13 +02:00
Sawada Shota 468076e66e cmd: Add client secret encryption option (#1322)
Closes #1317 

Signed-off-by: Shota Sawada <xiootas@gmail.com>
2019-03-29 12:45:54 +01:00
Sawada Shota 21a14a1568 cmd: Add clients list command (#1311)
Closes #1310

Signed-off-by: Shota SAWADA <xiootas@gmail.com>
2019-03-15 14:37:13 +01:00
hackerman 3a10df9bff
oauth2: Add OAuth2 audience claim and improve migrations (#1145)
This patch adds the ability to whitelist and request an audience
when performing any OAuth 2.0 Flow. The audience is useful in multi-
tenant environments where access tokens should be restricted to certain
resources.

Closes #883
Closes #1144

Signed-off-by: arekkas <aeneas@ory.am>
2018-11-02 16:46:01 +01:00
hackerman 65b7406abe
Move dependencies to ory/x (#1095)
Signed-off-by: aeneasr <aeneas@ory.sh>
2018-10-23 06:59:31 -07:00
Rich Wareham 8632a2e9b5 cli: fix reporting of epected vs. received status codes (#961)
Asking for a non-existent client results in the following confusing
error message:

```
Command failed because calling "GET http://hydra:4444/clients/no-such-client" resulted in status code "200" but code "404" was expected.
{"error":"Unable to locate the resource","error_description":"","status_code":404}
```

This commit fixes the expectedStatusCode and response.StatusCode
arguments to fmt.Fprintf which were reversed.

Signed-off-by: Rich Wareham <rich@richwareham.com>
2018-08-05 14:07:19 +02:00
arekkas 7fe4a2113e cmd: Resolves panic when network fails
Signed-off-by: arekkas <aeneas@ory.am>
2018-07-23 17:10:30 +02:00
arekkas 312f8d1765 cmd: Allows import of PEM/DER/JSON encoded keys
Closes #98

Signed-off-by: arekkas <aeneas@ory.am>
2018-07-11 17:28:42 +02:00
Aeneas 366ed57d9c
all: Updates license headers (#793) 2018-03-08 10:27:18 +01:00
zepatrik f818f857c2 client: Stops creating client when secret is too short (#764)
Previously, clients were created despite an error which said that the secret was too short. This patch changes that and improves error output in the CLI as well for this command.

Closes #725
2018-02-06 13:17:02 +01:00
aeneasr 0a54cdf247 cmd: Updates CLI outputs and adds newlines 2017-11-28 20:47:16 +01:00
Aeneas dcbd6d8fcb
Add license header to all source files (#644)
Closes #643
2017-11-06 13:01:53 +01:00
arekkas 4486d4cb71 cmd/cli: fake-tls-termination and refactoring errors checks 2017-10-05 18:12:34 +02:00