Graphql endpoint not working on dev publish behind a dispatcher
Hi guys,
I am having headaches trying to configure graphql endpoint to work on dev publish behind a dispatcher.
What i did:
-I configured graphql endpoint to be accessible by a certain group and also placed the required graphql settings in dispatcher. I am trying to send post request to graphql endpoint https://dev-publish-env/content/_cq_graphql/project/endpoint.json
with authorization header set as basic auth. This works in my local publish setup but in dev environment where we have dispatcher it doesn't.
Whats the problem:
-When i try to hit url from postman just like above with basic auth https://dev-publish-env/content/_cq_graphql/project/endpoint.json for some reason the authentication part isn't passing. But when we replace domain with an IP, then its working fine like this https://10.100.160.10/content/_cq_graphql/project/endpoint.json.
Have in mind that if i disable permissions for the endpoint then hitting this url(which doesnt sent authorization header) https://dev-publish-env/content/_cq_graphql/project/endpoint.json will now work.
I dont know how to fix this and its really confusing me. 😞
I would really appreciate any help that i can get just so that i can maybe move in the right direction!
Thanks and hope you are all doing well,
Luka