Commit Graph

10 Commits

Author SHA1 Message Date
Philippe Gaultier 46846e9471 feat: collect external latency data and write to logs
GitOrigin-RevId: 6ffdbd26c4346ed65646a8f508a4ed44dd4b7637
2025-11-27 18:03:53 +00:00
Henning Perl 2c3ba1311e Merge branch 'fosite-monorepo'
GitOrigin-RevId: 0496a85128a8006a1bdf0fb9ef3c393b31f90145
2025-10-31 12:37:14 +00:00
hackerman 4999d20db2 chore: fix all hydra linter issues
GitOrigin-RevId: 75db758dab3afb34587dcfaf40935ee4ea69c7b6
2025-09-29 09:07:24 +00:00
hackerman 63e617630a chore: use un-deprecated WithStack and cmp.Or
GitOrigin-RevId: a9efe036671b711ff9b7b88290ca2c3b93e5dfa3
2025-08-19 09:53:34 +00:00
Søren Schwartz c3ff306131
Include Requested Scopes in Webhook Requests (#3891) 2025-01-02 10:31:07 +01:00
Arne Luenser 25598191ee fix: limit HTTP response size 2024-11-27 12:35:55 +01:00
Henning Perl 1a40833e2c
fix: handle token hook auth config (#3677)
* fix: handle token hook auth config

* fix: bump golangci-lint

---------

Co-authored-by: Arne Luenser <arne.luenser@ory.sh>
2023-12-18 15:48:40 +01:00
Patrik 5c8e7923ed
feat: add authentication options to hooks (#3633) 2023-09-25 11:09:43 +02: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
Serhii Halchenko 9bdf225d8f
feat: add token request hooks for all grant types (#3427)
Added a generic token hook that is called for all grant types and includes `payload` with a single allowed value - `assertion` to cover the `jwt-bearer` grant type customization.

The existing `refresh token hook` is left unchanged and is considered to be deprecated in favor of the new hook logic. The `refresh token hook` will at some point be removed.

Closes #3244
Closes https://github.com/ory/fosite/issues/729
2023-03-26 12:35:52 +02:00