title: WSO2 API Manager(wso2am-4.0.0) - "Registered callback does not match with the provided url" in a distributed setup
body: <p>I'm currently using wso2am-4.0.0 and I have 2 separate nodes setup and synced according to the documentation.</p>
  <p><a href="https://apim.docs.wso2.com/en/3.2.0/install-and-setup/setup/distributed-deployment/synchronizing-artifacts-in-a-gateway-cluster/#inbuilt-artifact-synchronization" rel="nofollow noreferrer">https://apim.docs.wso2.com/en/3.2.0/install-and-setup/setup/distributed-deployment/synchronizing-artifacts-in-a-gateway-cluster/#inbuilt-artifact-synchronization</a></p>
  <p>Once I try to login to one of the instances, &quot;Registered callback does not match with the provided url&quot; occurs.</p>
  <p>If I change the callback url of the service providers related to the publisher and devportal to the 2nd node's hostname, I cannot login to the 1st node and vice versa.</p>
  <p>Any solution for this incident is highly appreciated.
  Thanks in advance.</p>