- DATE:
- AUTHOR:
- Ory Team
Ory Network, Ory Kratos, Ory Polis v26.4.25 released
Ory Network
Webhook events identify the webhook
The WebhookDelivered, WebhookSucceeded, and WebhookFailed events in live
event streams now carry the same three attributes, so you can group the events
of one webhook:
WebhookURL: the configured URL of the webhook. A password and the values of query parameters in the URL are replaced withxxxxx.HTTPMethod: the configured HTTP method.WebhookConfigPath: the configuration key the webhook is configured under, for exampleselfservice.flows.login.before.hooks.
WebhookFailed carries the attributes also when the webhook fails before a
request is sent.
WebhookURL on WebhookDelivered is now always the configured URL. Before, it
was the URL of the last request, which differed from the configured URL when the
webhook target answered with a redirect. The values of query parameters are no
longer part of WebhookURL: https://example.com/hook?tenant=a is reported as
https://example.com/hook?tenant=xxxxx.
This is now available on Ory Network.
Ory Kratos
Account enumeration mitigation covers organization members
When security.account_enumeration.mitigate is enabled, identifier-first
sign-in and account recovery now handle organization members like any other
identifier. Projects that do not enable the setting are unaffected.
Sign-in shows an organization's SSO providers only when the email domain of the identifier is one of the organization's domains, or when the flow was started with the
organizationquery parameter. Organization members whose email address is on a different domain must start sign-in with theorganizationquery parameter.Account recovery answers a request for an organization member like a request for any other address and sends the recovery code or link. Using it does not sign the member in, unless it was sent to a break-glass address.
Webhook events identify the webhook
The WebhookDelivered, WebhookSucceeded, and WebhookFailed events in live
event streams now carry the same three attributes, so you can group the events
of one webhook:
WebhookURL: the configured URL of the webhook. A password and the values of query parameters in the URL are replaced withxxxxx.HTTPMethod: the configured HTTP method.WebhookConfigPath: the configuration key the webhook is configured under, for exampleselfservice.flows.login.before.hooks.
WebhookFailed carries the attributes also when the webhook fails before a
request is sent.
WebhookURL on WebhookDelivered is now always the configured URL. Before, it
was the URL of the last request, which differed from the configured URL when the
webhook target answered with a redirect. The values of query parameters are no
longer part of WebhookURL: https://example.com/hook?tenant=a is reported as
https://example.com/hook?tenant=xxxxx.
Webhook events say why a webhook failed
WebhookFailed events in event streams now carry WebhookErrorType, which
classifies the failure. When a webhook response ended the execution, they also
carry WebhookResponseStatusCode. WebhookSucceeded events now carry
WebhookCanceled, which is true when the Jsonnet template canceled the
webhook.
Two webhook errors now have an error ID: webhook_request_build_failed when Ory
couldn't build the request, and webhook_invalid_response when the response
isn't valid JSON. Their HTTP status codes and messages are unchanged.
This is now available on Ory Network and for the Ory Enterprise License.
Ory Polis
Microsoft Entra ID no longer removes group members when it adds one
Since v26.4.10, adding members to a group from Microsoft Entra ID could remove
the group's other members: each member Entra added replaced the ones before it,
and Polis sent a group.user_removed event for each of them.
Entra reads a group with excludedAttributes=members before it adds a member.
Polis ignored the parameter and returned the membership, and Entra then sent the
new member as a replacement of the membership instead of an addition. A SCIM
group read or listing now leaves out the attributes named in
excludedAttributes.
The membership check Entra sends before it adds a member,
GET /Groups?filter=id eq "<group ID>" and members[value eq "<user ID>"], is
answered again. Since v26.4.10 it was refused with 400.
Groups that lost members are not repaired by the upgrade. Entra sends a membership again only when it evaluates the group again, for example after you restart provisioning.
If you embed Polis as a library, pass the excludedAttributes query parameter
of the SCIM request in query.excludedAttributes.
This is now available for the Ory Enterprise License and will be part of the next Ory Open Source release.
Ory Hydra, Ory Keto, Ory Oathkeeper, Ory Elements, and Ory Terraform
No significant changes in this release.