Commit Graph

9 Commits

Author SHA1 Message Date
Patrik 822ea266be test(hydra): add plaintext backups for all DB types
GitOrigin-RevId: ee2c8ff9ffacff66d09241827780350979957dba
2025-11-26 18:34:40 +00:00
Patrik 42b6a79041 test: split up consent manager test
GitOrigin-RevId: 80483effb7e51d3eebf14339600174252fc56b38
2025-10-23 14:20:47 +00:00
Arne Luenser 38ee050214 fix: hydra tracing
GitOrigin-RevId: 44aeb79002934149b6889c4e13697aa178f3d614
2025-08-26 18:27:03 +00:00
Patrik dd97ec88ea chore(hydra): registry setup refactoring
GitOrigin-RevId: 8504255cc935c7057faf174814db75532a95c0d5
2025-08-18 09:29:26 +00:00
Patrik 7840b0e0aa test(hydra): clean up some helpers
GitOrigin-RevId: 2b93dfbc4c27602a6ad053ccd0f25962f600419f
2025-08-08 08:43:37 +00:00
Patrik 29ba474a84 chore(hydra): improve test config setup
GitOrigin-RevId: 554890b424d335e9f87234212079894014372e66
2025-07-24 16:37:39 +00:00
Patrik a47e39513f
test: parallelize and improve (#3989) 2025-05-15 15:24:56 +02:00
hackerman 0a6c966206
feat: handle concurrent refreshes and improve graceful refreshing (#3895)
This patch improves Ory Hydra's ability to deal with refresh flows which, for example, concurrently refresh the same token. Furthermore, graceful token refresh has been improved to handle a variety of edge cases and scenarios.

Additionally, serializability errors in CockroachDB are now correctly retried.

See https://github.com/ory-corp/cloud/issues/7311
Closes https://github.com/ory/hydra/pull/3895
2024-12-17 09:57:05 +01:00
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