I have been using the v2/queryExecutor service to execute queries against a domain. This works fine when the user I'm authenticating with does not have an organization. But I can't get it to work when the user does have an organization. I tried generating a Basic Auth token in PostMan and using that in my header, as well as passing the username and password through the url; neither attempt worked.
How can I use this service when the user I'm logging in as is associated with an organization?