Skip to content

external_id doesn't work for import or list of identities #413

@philips

Description

@philips

Preflight checklist

Ory Network Project

No response

Describe the bug

I am attempting to evaluate Ory for a project. However, external_id seems to be an unloved part of the API and non-existent in identity import and list identities

Reproducing the bug

$ cat identity.json 
{
  "schema_id": "preset://email",
  "traits": {
    "email": "brandon.external@example.com"
  },
  "external_id": "customer-12345"
}
$ ory import identities identity.json
$ curl --request GET   --header "Authorization: Bearer $ORY_PAT"   "https://$PROJECT_SLUG.projects.oryapis.com/admin/identities/by/external/customer-12345"
{"error":{"code":404,"status":"Not Found","request":"5d0bca5c-0f4d-989f-9bba-216d383fe4fd","message":"Unable to locate the resource"}}

Relevant log output

Relevant configuration

Version

v1.2.0

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions