Does ROR Elasticsearch plugin support complex api call to get groups

I was reading the documentation for group service. Seems the scope is pretty minimal. My group service API need more headers and parameters to fetch the groups [entitlements]. Is it possible to pass multiple headers and parameters?

Yeah that sounds like an easy PR though. What do you think?

Could you please point me to the package/class from where I can start. It sounds easy enough but I don’t know the flow and a pointer will give me kick start. :slight_smile:
Thanks!

Have a look at this class

https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/blob/master/core/src/main/java/tech/beshu/ror/acl/definitions/groupsproviders/GroupsProviderServiceHttpClient.java