Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search_users_by_ids does not work / does not follow your API spec #25

Open
jegger opened this issue May 17, 2024 · 0 comments
Open

search_users_by_ids does not work / does not follow your API spec #25

jegger opened this issue May 17, 2024 · 0 comments

Comments

@jegger
Copy link

jegger commented May 17, 2024

It looks like search_users_by_ids does not work / never worked?

Reading to your API specs, it requires a parameter for each id. https://fusionauth.io/docs/apis/users#search-for-users
What it does however is somehow expecting a list of user ids and then converting that list value to a boolean value instead of looping trough all the ids and appending paramteres.

It could be changed in that way; however as this is auto-generated, I don't really know how to do it properly:

    uri = fa_client(tenant_id).start().uri("/api/user/search")
    for id in ids:
        uri.url_parameter("ids", id)
    search_res = await uri.get().go()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant