- DATE:
- AUTHOR:
- Ory Team
Ory Hydra, Ory Kratos, Ory Keto, Ory Oathkeeper v26.4.20 released
Ory Hydra
Account Experience shows the consent screen again when an OAuth2 client requests a new audience
When a user chose to remember their consent, Ory now skips the consent screen
only if that consent granted every requested scope and every requested access
token audience. If an OAuth2 client asks for an audience value that the
remembered consent did not grant, Account Experience shows the consent screen
again.
A client that requests different audiences in separate authorization requests sees the consent screen whenever it requests an audience that the most recent remembered consent did not grant. To avoid this, request every audience the client needs in one authorization request.
Breaking changes
A request with prompt=none for an audience the user has not granted now fails
with consent_required and returns no authorization code. The error description
says that the remembered consent does not cover all requested scopes and
audiences. Send the user through the consent screen to grant the new audience.
Container images contain only the service binary
The OEL container images of Ory Kratos Identities, Ory Hydra Authorization, Ory
Keto Permissions, Ory Oathkeeper IAM Proxy, and Ory Talos Secure API Keys use an
empty base image. The image contains only the service binary, which carries its
own root certificates and time zone data. The images still run as user 65532.
This includes the FIPS images of Ory Kratos Identities and Ory Hydra
Authorization, which no longer use a Red Hat Universal Base Image. The -debug
images do not change.
Breaking changes
The image has no
/tmp, no/etc/passwd, no/etc/groupand no CA bundle file.The working directory is
/, and the service user cannot write to it.With SQLite, use an absolute database path on a writable volume, and mount a writable
/tmp.To set the owner and group of a Unix socket, use numeric IDs.
To trust a private certificate authority, see Trust a private certificate authority.
For a shell in the container, use the -debug image tag. See
Container image contents.
Remembered consent covers only the audiences the user granted
A consent request now has skip: true only if the remembered consent granted
every requested scope and every requested access token audience. If an OAuth2
client asks for an audience value that the remembered consent did not grant,
the consent request has skip: false, and your consent app shows the consent
screen.
A client that requests different audiences in separate authorization requests
sees the consent screen whenever it requests an audience that the most recent
remembered consent did not grant. To avoid this, request every audience the
client needs in one authorization request, or have your consent app include the
audiences the user granted before in grant_access_token_audience. Both
approaches issue access tokens that are valid for every granted audience. Where
audience isolation matters, grant only the requested audiences.
Breaking changes
A request with prompt=none for an audience that the remembered consent did not
grant now fails with consent_required instead of returning an authorization
code. The error description says that the remembered consent does not cover all
requested scopes and audiences.
If your consent app accepts consent requests without setting
grant_access_token_audience, the remembered consent grants no audience. Every
later request with an audience value then shows the consent screen, and every
such request with prompt=none fails. Set grant_access_token_audience to the
audiences the user approved, usually requested_access_token_audience.
This is now available on Ory Network, for the Ory Enterprise License, and will be part of the next Ory Open Source release.
Ory Kratos
Container images contain only the service binary
The OEL container images of Ory Kratos Identities, Ory Hydra Authorization, Ory
Keto Permissions, Ory Oathkeeper IAM Proxy, and Ory Talos Secure API Keys use an
empty base image. The image contains only the service binary, which carries its
own root certificates and time zone data. The images still run as user 65532.
This includes the FIPS images of Ory Kratos Identities and Ory Hydra
Authorization, which no longer use a Red Hat Universal Base Image. The -debug
images do not change.
Breaking changes
The image has no
/tmp, no/etc/passwd, no/etc/groupand no CA bundle file.The working directory is
/, and the service user cannot write to it.With SQLite, use an absolute database path on a writable volume, and mount a writable
/tmp.To set the owner and group of a Unix socket, use numeric IDs.
To trust a private certificate authority, see Trust a private certificate authority.
For a shell in the container, use the -debug image tag. See
Container image contents.
List identities by external ID
GET /admin/identities accepts a new external_ids query parameter that
returns the identities with the given external IDs. Repeat the parameter to look
up up to 500 identities in one request.
Use it for external IDs that contain a slash (/). Proxies commonly reject a
slash in a URL path even when it's percent-encoded, so
GET /admin/identities/by/external/{externalID} can't reach those identities.
Live events report the tokenizer template
SessionTokenizedAsJWT now carries TokenizedSessionTemplate, the name of the
tokenizer template that converted the session to a JSON Web Token. You can
filter live events by the new attribute.
Prevent timeouts when repeatedly fetching self-service errors
Fixed database contention that could cause concurrent requests to
GET /self-service/errors?id=… for the same error to time out on CockroachDB.
Error read timestamps (seen_at) are now refreshed at most once per minute. For
self-hosted deployments, cleanup based on this timestamp may remove errors up to
one minute earlier than when measured from the last read. Ory Network's
automatic expiration is unchanged because it uses the error's creation time.
This is now available on Ory Network, for the Ory Enterprise License, and will be part of the next Ory Open Source release.
Ory Keto
Container images contain only the service binary
The OEL container images of Ory Kratos Identities, Ory Hydra Authorization, Ory
Keto Permissions, Ory Oathkeeper IAM Proxy, and Ory Talos Secure API Keys use an
empty base image. The image contains only the service binary, which carries its
own root certificates and time zone data. The images still run as user 65532.
This includes the FIPS images of Ory Kratos Identities and Ory Hydra
Authorization, which no longer use a Red Hat Universal Base Image. The -debug
images do not change.
Breaking changes
The image has no
/tmp, no/etc/passwd, no/etc/groupand no CA bundle file.The working directory is
/, and the service user cannot write to it.With SQLite, use an absolute database path on a writable volume, and mount a writable
/tmp.To set the owner and group of a Unix socket, use numeric IDs.
To trust a private certificate authority, see Trust a private certificate authority.
For a shell in the container, use the -debug image tag. See
Container image contents.
This is now available for the Ory Enterprise License.
Ory Oathkeeper
Container images contain only the service binary
The OEL container images of Ory Kratos Identities, Ory Hydra Authorization, Ory
Keto Permissions, Ory Oathkeeper IAM Proxy, and Ory Talos Secure API Keys use an
empty base image. The image contains only the service binary, which carries its
own root certificates and time zone data. The images still run as user 65532.
This includes the FIPS images of Ory Kratos Identities and Ory Hydra
Authorization, which no longer use a Red Hat Universal Base Image. The -debug
images do not change.
Breaking changes
The image has no
/tmp, no/etc/passwd, no/etc/groupand no CA bundle file.The working directory is
/, and the service user cannot write to it.With SQLite, use an absolute database path on a writable volume, and mount a writable
/tmp.To set the owner and group of a Unix socket, use numeric IDs.
To trust a private certificate authority, see Trust a private certificate authority.
For a shell in the container, use the -debug image tag. See
Container image contents.
This is now available for the Ory Enterprise License.
Ory Network, Ory Polis, Ory Elements, and Ory Terraform
No significant changes in this release.