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
jolly-mechanic-80028
07/19/2022, 4:33 PM
Following in case someone knows of a way to do this
👍 1
s
square-eye-96545
07/19/2022, 9:24 PM
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.