Skip to content

Unable to fetch connections with multiple strategy with current implementation #309

@benoittgt

Description

@benoittgt

Hello

My issue if a follow up of this community discussion

We want to be able to fetch multiple connections with multiple strategies like in the documentation.

With the current implementation is not possible because strategy in get_connection is just a string. A workaround is to do this:

auth0_client.get(auth0_client.send(:connections_path), RestClient::ParamsArray.new([[:strategy, 'samlp'], [:strategy, 'waad']]) )

Also body processing needs to be replace with something like:

          body = body.delete_if { |_, v| v.nil? } if body.respond_to?(:delete_if)

It needs more work because if we want to pass more parameters it is getting more complicated.

Do you think the gem could evolve to handle this type of call?

🌮

cc @rouaneta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions