Files
zitadel/internal
8df402fb4f feat: List users by metadata (#10415)
# Which Problems Are Solved

Some users have reported the need of retrieving users given a metadata
key, metadata value or both. This change introduces metadata search
filter on the `ListUsers()` endpoint to allow Zitadel users to search
for user records by metadata.

The changes affect only v2 APIs.

# How the Problems Are Solved

- Add new search filter to `ListUserRequest`: `MetaKey` and `MetaValue`
  - Add SQL indices on metadata key and metadata value
  - Update query to left join `user_metadata` table

# Additional Context

  - Closes #9053 
  - Depends on https://github.com/zitadel/zitadel/pull/10567

---------

Co-authored-by: Silvan <[email protected]>
Co-authored-by: Stefan Benz <[email protected]>
2025-09-01 16:12:36 +00:00
..
2025-09-01 16:12:36 +00:00
2025-08-21 09:02:32 +02:00
2025-06-27 17:25:44 +02:00
2025-05-02 13:44:24 +02:00
2024-01-02 14:26:31 +00:00
2025-04-02 16:53:06 +02:00
2024-01-02 14:26:31 +00:00
2025-06-27 17:25:44 +02:00
2025-07-02 13:57:41 +02:00