Support for external identifiers
Ory now supports assigning an external_id to identities. This feature enables systems to use domain-specific identifiers such as customer_id or employee_id as primary references for identities. It simplifies migrations from legacy identity systems and reduces the need for custom ID mapping logic.
Key capabilities:
Assign a unique
external_idto any identity via API.Query identities directly using
external_id.Use
external_idas thesubclaim in JWTs via thesubject_sourcesetting.
This feature helps align Ory Kratos with external systems that rely on stable identifiers across environments.
Learn how to configure and use external_id in the Ory Documentation.
These changes are now available in Ory Network and Ory Enterprise License Kratos and will be included in the next release of Ory Open Source.
Links