mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 13:33:41 +00:00
e1f0d46393
# Which Problems Are Solved Added search by phone to user Service V2. ``` curl --request POST \ --url https://<zitadel_domain>/v2/users \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <Token>' \ --header 'Content-Type: application/json' \ --header 'content-type: application/json' \ --data '{ "query": { "offset": "0", "limit": 100, "asc": true }, "sortingColumn": "USER_FIELD_NAME_UNSPECIFIED", "queries": [ { "phoneQuery": { "number": "+12011223313", "method": "TEXT_QUERY_METHOD_EQUALS" } } ] }' ``` Why? Searching for a user by phone was missing from User Service V2 and V2 beta. # How the Problems Are Solved * Added to the SearchQuery proto * Added code to filter users by phone # Additional Changes N/A # Additional Context Search by phone is present in V3 User Service --------- Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>