In the meantime we could implemented it with the mentioned workaround.
Late thanks @robotdan !
Best posts made by malle
Latest posts made by malle
RE: How to search for username with hyphen
username:"test2-n*" -> not found ...so still a problem.
And I do not really care about the FusionAuth Web UI, the problem actually is that I use the Java client via UserSearchCriteria ...so it is quoted anyways. Unfortunetally there are already a lot of 'hyphen-user' in the system and adjusting these by taking the hyphen out is not an option.
How to search for username with hyphen
assume having two users
Seemingly the hyphen ist like a special char and won't work with asterisk for like-search.
You can try this in the web UI:
Search for username:test -> Users will be found
Search for username:test* -> Users will be found
Search for username:test-* -> No search result
Quoting the hyphen with backslash has no effect. Is there a way to achieve this?
Thank you and regards