UNSOLVED API to search for users by username?
I'm performing an import from Cognito and we have usernames that are completely unique on it. The import API for FusionAuth will error out if there is a duplicate user being inserted.
I'm trying to write something that will filter out users already imported into FusionAuth from Cognito, but the User search API using elasticsearch (I'm on hosted FA) doesn't always return results when I search by username using queryString.
Is there a better way to go about searching for users against a username?
dan last edited by dan
You should be able to specify the property to search when using the
username:testwill exactly match users with that username
username:tes*will match any users that have a username that starts with
Does that help?