Still wondering if y'all might have some guidance ...
# talk-kratos
e
Still wondering if y'all might have some guidance on the question attatched Thanks a ton, y'all are awesome ❤️
h
Hi Allen, thank you for the question! This is indeed not solvable without workarounds at the moment. There are open PRs to address the search problem but it’s a complex problem space which is why we do not have a solution yet. As workarounds you could: 1. List all the identities (potentially cache the calls) and iterate through them to see if the username already exists; This only works efficiently if you have sub 1.000.000 users. You can parallelize these calls also 2. Use hooks to write usernames to your DB 3. If you have lots of free time - help out with https://github.com/ory/kratos/pull/2442 Hope this helps 🙂
e
Thanks for the great response!