Hello. I was looking at the Kratos API to see if I...
# talk-kratos
s
Hello. I was looking at the Kratos API to see if I can query an identity by email, but it does not look like that's possible. Currently, you can only get an identity by Id or List Identities(which does not support searching). Is this planned in the near future, to allow a search on traits?
j
Following in case someone knows of a way to do this
👍 1
s
Have decided to duplicate the trails(only email address at this point) that we would need to query within our database along with the Kratos identity id reference for now to mitigate this shortcoming. It will still allow fetching the identity from Kratos using the get identity endpoint once we have queried/filtered from our DB.
e
not to necro thread but Check this here https://github.com/ory/kratos/pull/2442