Hi. Do you have a rough ETA on when there will be ...
# ory-network
f
Hi. Do you have a rough ETA on when there will be an admin API route to fetch an Identity by email?
h
itโ€™s live ๐Ÿ™‚
b
Youโ€™re in luck ๐Ÿ™‚ We just released an update, that includes a new parameter to lookup identities by email.
We still need to add the documentation on that, but in the meantime, you can use the
credentials_identifier
query parameter on the listIdentities admin endpoint to lookup identities by email.
f
Best timed question ever @flat-flower-81031 :) Weโ€™ll share an announcement when docs are in place too
f
Amazing! ๐ŸŽ‰ ๐Ÿ˜‚
b
For example:
/admin/identities?credentials_identifier=mail%<http://40example.com|40example.com>
๐Ÿ™ 2
f
Just a single email as the value?
b
Yes, our initial implementation is pretty limited, as it also doesnโ€™t allow for sub-text search. We are working on improving this as well though.
f
No worries. That will work for now. Thanks.
b
f
Now I can rip out the code that was checking if an identity with a given email exists by trying to create a new identity and checking for a 409 status.
๐Ÿ‘ 2
r
Is username coming as well?
f
The parameter should work with usernames too!
(If these are your credentials identifier)
r
๐ŸŽ‰
just tried in a test case
works! ๐Ÿ™‚
๐Ÿ‘ 1
@fast-lunch-54279 can you possibly have a look at my sdk error? just so i can stop poking around ๐Ÿ˜„
f
Taking a look, will need to route to an engineer on our end tho :)
๐Ÿ™ 1