-
Add access token strategy parameter to cli (#3718) (7862dc3), closes #3717
-
Add expiry and requested times to logout table (#3837) (f83193f)
-
Add id parameter to create oauth2-client cli (#3725) (b372fd2):
Fixes https://github.com/ory/hydra/issues/3724
-
Add Inspect option to registry (2013450)
-
Add migrate sql up|down|status (#3894) (d27882f):
This patch adds the ability to execute down migrations using:
hydra migrate sql down -e --steps {num_of_steps}
Please read hydra migrate sql down --help carefully.
Going forward, please use the following commands
hydra migrate sql up ...
hydra migrate sql status ...
instead of the previous, now deprecated
hydra migrate sql ...
hydra migrate status ...
commands.
See https://github.com/ory-corp/cloud/issues/7350
-
Built-in login/consent UI for hydra perform authorization-code (#3845) (7f8bd90)
-
Graceful refresh token rotation (#3860) (e278b40), closes #1831 #3770:
This patch adds a configuration flag which enables graceful refresh token rotation. Previously, refresh tokens could only be used once. On reuse, all tokens of that chain would be revoked.
This is particularly challenging in environments, where it's difficult to make guarantees on synchronization. This could lead to refresh tokens being sent twice due to some parallel execution.
To resolve this, refresh tokens can now be graceful by changing oauth2.grant.refresh_token.grace_period=10s (example value). During this time, a refresh token can be used multiple times to generate new refresh, ID, and access tokens.
All tokens will correctly be invalidated, when the refresh token is re-used after the grace period expires, or when the delete consent endpoint is used.
-
Handle concurrent refreshes and improve graceful refreshing (#3895) (0a6c966):
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
-
Improve persistence logic (#3756) (50301e0)
-
Reduce size of verifiers (#3857) (0cd00dc)
-
Remove unused indices (#3859) (56fc3da)
-
Support more claims in password grant (#3864) (41476ec):
For the resource owner password grant, the Kratos identity ID is now written to the sub claim, and the username is written to the ext.username claim. Further, token hooks are called for the initial token issuance as well as refresh flows for access tokens issued via the resource owner password grant, allowing users to customize the fields present in the access token (for the jwt strategy) as well as on introspection.
-
Update clients from files through the CLI (#3874) (f777fd1)
-
Upgrade to jackc/pgx/v5 (#3798) (cd7e7ef)