Commit Graph

9 Commits

Author SHA1 Message Date
Henning Perl f29fe3af97
feat: stateless authorization code flow (#3515)
This patch optimizes the performance of authorization code grant flows by minimizing the number of database queries. We acheive this by storing the flow in an AEAD-encoded cookie and AEAD-encoded request parameters for the authentication and consent screens. 

BREAKING CHANGE:

* The client that is used as part of the authorization grant flow is stored in the AEAD-encoding. Therefore, running flows will not observe updates to the client after they were started.
* Because the login and consent challenge values now include the AEAD-encoded flow, their size increased to around 1kB for a flow without any metadata (and increases linearly with the amount of metadata). Please adjust your ingress / gateway accordingly.
2023-06-12 20:27:00 +02:00
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
Hans df08c7fca5
fix: typo in errors.go (#2699) 2021-08-26 18:14:34 +02:00
aeneasr b7273676dd feat: improve and clean up error handling 2020-11-17 17:25:54 +01:00
sawadashota 48c2c6de27
fix: remove duplicated tracing logger (#1900)
Signed-off-by: sawadashota <xiootas@gmail.com>
2020-06-12 09:54:29 +02:00
hackerman 9c6eba8d06
fix: use .bin in PATH and improve CI tasks (#1897) 2020-06-08 19:38:55 +02:00
sawadashota 4bfbddb5a4
feat: log errors with request information (#1893)
Signed-off-by: sawadashota <xiootas@gmail.com>
2020-06-08 12:08:21 +02:00
aeneasr fdb3231e19 fix: resolve dependency issues and adopt logrusx logger 2020-05-28 14:35:37 +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