Commit Graph

30 Commits

Author SHA1 Message Date
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
aeneasr a85bc7ab52 feat(sdk): add missing bearer security definition 2022-09-07 08:10:31 +02:00
aeneasr 6880feafb0 fix(sdk): resolve type issues and regenerate SDK 2022-09-07 08:10:31 +02:00
aeneasr b3c6c5adf7 docs: fix broken links 2020-08-07 14:34:03 +02:00
Moritz Lang 31ecf09cb4 doc: Correct alias in OAuth2 scopes documentation (#1613) 2019-10-21 14:58:29 +02:00
hackerman d1343ae202
Improve OAuth2 API Docs (#1499) 2019-08-19 19:14:36 +02:00
arekkas 700a4a2eff sdk: Use new api groups everywhere 2018-11-18 23:04:10 +01:00
arekkas 3d0bf0bda5 Removes policy, warden and groups from this project
We have learned a lot over the last year in terms of how ORY Hydra is being used. Initially, we wanted to avoid the problems facing popular databases like MongoDB or others, which did not include authentication for their management APIs.

For this reason, the Warden API was born and primarily used internally and exposed via HTTP. We learned that access control policies are well received, but also add additional complexity to understanding the software. While we firmly believe that these policies implement best practices for access control in complex systems, we do understand that they add a barrier to getting started with ORY Hydra.

For this reason we are planning on moving the Warden API from this project to ORY Oathkeeper or potentially it's own server. We would add a migration path for existing policy definitions to the new service. The default docker image would combine the services in such a way, that ORY Hydra is protected. We would additionally have an (insecure) docker image without authentication which can be used for testing.

This also opens up the possibility of having more access control mechanisms than access control policies. For example, we can add ACL and RBAC and other mechanisms too.

First I think it makes good sense to move this functionality into a separate service and remove the warden calls internally completely. The reason being that not everyone wants to rely on Hydra's access control. Sometimes it's enough to use a gateway in front and require e.g. an API key for management or whatever. New adopters are always baffled by complexity involved with policies and scopes. Removing that from the core could really help. The user survey has also shown that this stuff is quite complex to grasp.

The idea is to have a separate service which is basically ladon as a HTTP API. I think it makes sense to add some functionality to resolve access tokens so it would basically be very similar to the current warden API - probably even equal. There would definitely be some backup mode where hydra's database tables and migrations are used as to make migration as easy as possible.

Then, we would ship docker images and example set ups where different configurations are shown. One of the configurations would be the current one, so basically what we have now in hydra but with the three services combined in one image.

Closes #807
2018-04-29 18:25:42 +02:00
Aeneas 366ed57d9c
all: Updates license headers (#793) 2018-03-08 10:27:18 +01:00
arekkas 5a2e4dfcfd docs: Improves API docs 2018-02-18 23:14:44 +01:00
arekkas 2ad0a96503 docs: Clean up swagger specification 2018-02-18 19:03:54 +01:00
arekkas 6cbfa58c65 docs: Removes apiary how-to 2018-02-18 18:34:44 +01:00
Aeneas 4ef50f37fe
teleme: Improves telemetry module and upgrades to segment 3.0.0 (#752) 2018-01-23 17:32:51 +01:00
Aeneas a58624cf6f
groups: Corrects group scope documentation (#710)
Closes #702
2017-12-14 18:33:13 +01:00
Aeneas dcbd6d8fcb
Add license header to all source files (#644)
Closes #643
2017-11-06 13:01:53 +01:00
arekkas ac169d5eb4 docs: add API version note 2017-10-05 18:12:34 +02:00
arekkas 8fcc8cb251 all: reduce tags to one and clean up sdk 2017-10-05 18:12:34 +02:00
aeneasr 635d0a1cce all: write swagger docs 2017-10-05 18:12:34 +02:00
arekkas cff04d7009 docs: add wildcard scope strategy documentation 2017-10-05 18:12:34 +02:00
Aeneas fa46dbdee7 docs: update to latest go-swagger compatibility 2017-06-14 13:00:01 +02:00
Aeneas a04e6f2f1b metrics: add metrics and telemetry package (#500) 2017-06-07 19:43:45 +02:00
Aeneas 8b412fc0ac docs: add scopes to oauth2 (#495) 2017-06-06 00:07:46 +02:00
Aeneas ddca997bc6 docs: add health check to swagger and resolve swagger issues (#488)
Closes #355
2017-06-05 11:01:56 +02:00
Aeneas Rekkas (arekkas) c536685688 docs: update swagger description 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 0ebf0ec8cd all: added swagger docs for the rest of the apis 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) c6135403d5 docs: improve client swagger specs and add jwk specs 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) ede87686e9 docs: add swagger docs for the client endpoint 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 955200cba6 docs: more docs 2016-10-25 21:37:28 +02:00
Aeneas 95ff77d24c 0.3.0 (#195)
* cmd: resolve broken formatting issue
* client: field scopes should be scope
* config: fix broken system secret method and add test case for it
* client: scope should be scope in rethinkdb too
* client: scope should be scope in rethinkdb too
* oauth2: resolve import paths broken by goimports
2016-08-10 00:50:27 +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