Commit Graph

41 Commits

Author SHA1 Message Date
Henning Perl efd9ca7d56
chore: bump deps (#3560) 2023-07-04 10:21:51 +02:00
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
aeneasr cd007bbb49 refactor(jwk): rename SDK methods and introduce `/admin` prefix
BREAKING CHANGE: This release updates SDK services from `public` and `admin` to `v2`. Methods exposed at the admin interface are now prefixed with `admin` (e.g. `adminCreateJsonWebKeySet`). Administrative endpoints now have an `/admin` prefix (e.g. `POST /admin/keys`). Existing administrative endpoints will redirect to this new prefixed path for backwards compatibility.
2022-09-07 08:10:31 +02:00
aeneasr e466d7c9d2 refactor: `hydra keys` command
BREAKING CHANGE: The `hydra keys create|delete|get|import` commands have changed to follow other Ory project's guidelines, including structured output and improved handling. They are now:

```
hydra create jwks
hydra get jwks
hydra delete jwks
hydra import jwk
```

Please head over to the documentation for more information or use the `--help` CLI flag for each command.
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 4002224439 refactor(client): make OAuth2 Client IDs system-chosen and immutable
BREAKING CHANGE: To improve security and scalability (in particular sharding), OAuth 2.0 Client IDs can no longer be chosen but are always assigned a random generated UUID V4. OAuth 2.0 Clients created with custom IDs before the v2.0 release will continue working with their legacy Client ID in Ory Hydra v2.x.

Additionally, the `hydra create client` command no longer supports flag `--id` and flag `--callbacks` has been renamed to `--redirect-uris`.

Closes #2911
2022-09-07 08:10:31 +02:00
naveenpaul1 e874f4f300
feat: support updating keys in CLI (#2460)
Closes #2436
2021-09-20 18:42:30 +02:00
Richard Zana cd3014cdf3
feat: import keys with a default key id (#2563) 2021-06-18 14:32:07 +02:00
DennisPattmann5012 e7f55cd36a
fix(cli): set correct JWK alg on import (#1761) 2020-03-18 20:40:45 +01: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 deb15740f3
cmd: Print meaningful error messages on network issues (#1493)
Closes #1492
2019-07-19 07:41:58 +02:00
hackerman bbeee653de
Implement OpenID Connect Front-/Backchannel logout (#1376)
Closes #1368 
Closes #1004 
Closes #834

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-25 23:17:57 +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
hackerman 95a51deb31
Improve configuration and service management (#1314)
This patch significantly refactors internal configuration and service management with the goal of making configuration changes possible without service restarts. This patch prepares the possibility to configure ORY Hydra from a remote source (etcd, consul) and watch for changes. This patch also introduces the possibility to configure ORY Hydra from a configuration file on top of environment variables.

The following issues have been fixed as well:

- Key rotation of the system secret is now much simpler (closes #1316)
- Database connectivity parameters such as max_conns no longer cause issues with older postgres versions (closes #1327)
- Non-existing routes now return a JSON error instead of `text/plain` when `application/json` was requested (clsoes #1244)
- We now push tags latest, X, X.Y, X.Y.Z to docker hub (closes #1289)
- The quickstart guide no longer builds the source code but instead pulls latest tag (closes #1309)
- We moved to goreleaser and godownloader for release management (closes #1107)
- The quickstart Docker Compose files are now reusable (closes #1196)

The following issues are also resolved:

- Closes #1121 

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-02 11:52:21 +02:00
RikiyaFujii c3cc80cd57 all: Streamline method signatures (#1190)
Signed-off-by: RikiyaFujii <ridai22hanriku@gmail.com>
2018-11-29 09:18:46 +01:00
arekkas 700a4a2eff sdk: Use new api groups everywhere 2018-11-18 23:04:10 +01:00
hackerman 4a8cf84f15
cmd: Add ability to specify consent and login lifespan (#1155)
Closes #1057
2018-11-03 21:15:59 +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
hackerman 2b491c9e27
Switch to go modules and add vendor (#1077)
Closes #1074

Signed-off-by: arekkas <aeneas@ory.am>
2018-10-09 22:45:56 +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
arekkas e41fcf263c jwk: Removes buggy rotate command and improves jwk refresh 2018-06-24 17:24:12 +02:00
arekkas 1d02cae554 jwk: Implements proper refreshing strategy 2018-06-24 17:24:12 +02:00
arekkas 7b39d2bfe7 cmd: Do not re-use kid when rotating key 2018-06-24 17:24:12 +02:00
arekkas 53ce537fb6 cmd: Key rotation does not rename keys 2018-06-24 17:24:12 +02:00
arekkas d25766c2b8 cmd: Improves key rotation logic 2018-06-24 17:24:12 +02:00
aeneasr a463d23ac9 jwk: Adds jwk rotation and improves jwk codebase 2018-06-24 17:24:12 +02:00
arekkas 5cbf12117d all: Replaces internal dockertest with sqlcon 2018-05-17 21:30:27 +02:00
arekkas 0b5f4666d8 cmd: Deprecates connect command and introduces configurable credentials
This patch deprecates the `hydra connect` command as internal
access control has been removed from ORY Hydra and this command
no longer serves any purpose.

Instead, all commands are supplied with environment variables `HYDRA_URL`,
`OAUTH2_CLIENT_ID`, `OAUTH2_CLIENT_SECRET`, `OAUTH2_ACCESS_TOKEN`.

Please check out `hydra help <command>` for usage instructions. You
should also check out the upgrade guide for more detailed upgrade instructions.

This patch also renames some flags and command names which have been
documented in the upgrade guide.

Closes #841
Closes #840
2018-05-04 15:03:26 +02:00
Aeneas 366ed57d9c
all: Updates license headers (#793) 2018-03-08 10:27:18 +01:00
zepatrik 9bff6e704d config: Adds method to return ClusterURL without trailing slashes (#748)
Closes #650
2018-01-18 10:21:55 +01:00
Aeneas dcbd6d8fcb
Add license header to all source files (#644)
Closes #643
2017-11-06 13:01:53 +01:00
arekkas 92fe6bbece all: update swagger definitions and fix failing tests 2017-10-05 18:12:34 +02:00
arekkas 4486d4cb71 cmd/cli: fake-tls-termination and refactoring errors checks 2017-10-05 18:12:34 +02:00
arekkas 783707175b oauth2: implement swagger-based sdk 2017-10-05 18:12:34 +02:00
arekkas 87b893e77f jwk: implement swagger-based sdk 2017-10-05 18:12:34 +02:00
Aeneas 79580e1ea9 all: implement --fake-tls-termination flag (#493) 2017-06-05 22:30:55 +02:00
Aeneas Rekkas (arekkas) e912acc3a1 all: move to new org 2017-05-07 10:52:08 +02:00
Aeneas a297f7e57b 🔥 0.2.0 (#165)
* warden: rename `assertion` to `token` - closes #158
* config: do not log database credentials - closes #147
* oauth2: upgrade fosite - close #160
* config: do not store database config in hydra config - closes #164
* oauth2: id_token at_hash / c_hash is null - closes #129
* jwk: improve error message of wrong system secrect - closes #104
* readme: improve images, add benchmarks - closes #161
* cmd: improve connect dialogue - closes #170
* cmd: fix --dry option - closes #157
* firewall: document warden interface sdk
* readme: link openid connect and oauth2 introduction
* cmd: introduce FORCE_ROOT_CLIENT_CREDENTIALS env var - closes #140
* readme: document error redirect to identity provider - closes #96
* internal: fosite store must be consistent to avoid errors - closes #176
* client: add GetConcreteClient to http manager
* cmd: host process now logs basic information on all http requests - closes #178
* all: add memory profiling - closes #179
* warden: resolve nil pointer issue - closes #181
* cmd: clean up env to struct mapping, add more controls
* cmd: bcrypt cost should be configurable - closes #184
* cmd: token lifespans should be configurable - closes #183
* cmd: resolve issues with envirnoment config - closes #182
* cmd: implement tls termination capability - closes #177
* cmd: resolve issues with redirect logic and TLS
* oauth2: implement default oauth2 consent endpoint - closes #185
* warden - closes #188 
* oauth2: id token claims should be set by using id_token - closes #188
* oauth2: oauth2 implicit flow should allow custom protocols - closes #180
* oauth2: core scope should not be mandatory - closes #189
* warden: warden sdk should not make distinction between token and request - closes #190
* warden: rename authorized / allowed endpoints to something more meaningful - closes #162
* ci: improve travis config
2016-08-09 14:05:18 +02:00
Aeneas 85936992ad 🔥 0.1-beta2 (#90) 🔥
* cli: key is now sha256(secret) - closes #86 

* client: creating clients with predefined credentials - closes #91

* client: always autogenerate secrets when using clients create

* cli: CLI should have `-dry` option to show what the HTTP request looks like - closes #99

* cli: fix issue where tls certificate is regenerated on boot - closes #93 

* cli: allow passing of tls certificates via env vars or files - closes #88

* oauth2: add offline scope for refresh tokens - closes #97 

* jwk: support for x5c certificate chains - closes #92 

* all: minor changes - closes #89
2016-06-14 11:49:24 +02:00
Aeneas 00fd93cab2 🔥 0.1-beta 🔥 2016-05-29 11:50:57 +02:00