Skip to content

Connections.all() should accept name #496

New issue

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

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

Already on GitHub? # to your account

Closed
5 tasks done
esantora opened this issue May 31, 2023 · 1 comment · Fixed by #500
Closed
5 tasks done

Connections.all() should accept name #496

esantora opened this issue May 31, 2023 · 1 comment · Fixed by #500
Labels
feature request A feature has been asked for or suggested by the community

Comments

@esantora
Copy link

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I would like this library to have closer parity with the Auth0 Management API, especially when it comes to available parameters. The Connections.all() method should accept a name argument to retrieve a Connection by name.

Describe the ideal solution

The Connections.all() method should accept a name argument to retrieve a Connection by name.

Alternatives and current workarounds

Retrieve all connections and iterate through results to see if a Connection name matches.

Additional context

No response

@esantora esantora added the feature request A feature has been asked for or suggested by the community label May 31, 2023
@adamjmcgrath
Copy link
Contributor

Thanks for raising this @esantora

Yep - will schedule some work to include this, in the meantime you can use connections.all({ "extra_params": { "name": "my-name" } })

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants