Auth0-js equivalent for auth0-lock's AllowedConnections?

Adding an extra option “foo” gives me this warning:

Following parameters are not allowed on the `/authorize` endpoint: [foo]

It does, however, seem to add the parameter to the query string. (It requires a cast in TypeScript, but that’s not so big an issue.)

As for the connection parameter, my use-case is just to be able to configure the subset of login methods from the caller, so I don’t think that is what I need for this particular situation.