We have to get grapqhl working. Graphql cant be used form author instance because it requires authentication, and the method is not documented and there is no way to "unprotect" the graphql endpoint on author to not require authenticaiton.
We understand that the publish instance doesnt have this restriction, i.e. we can call the graphql endpoint without authentication.
However, we cant find how to setup a publish instance which takes its content from the author instance.
This is on an M1 Mac.
We installed author by renaming our aem_cloud_SDK jar to aem-author-p4502.jar, unpacking it, then running crx-quickstart/bin/start. This works, and we have installed the wknd site which has content fragments and setsup the graphql endpoint correctly. We kept the default admin/admin user/pass
We installed publish by copying the aem cloud sdk jar file to aem-publish-p4503.jar in a separate dir and uplacking/running it. The process is running, but when we try to hit any publish url e.g. http://localhost:4503/content/wknd/us/en/magazine/ski-touring we get 404.
With the NON cloud SDK, this works out of the box (i.e. replication happens automatically), but what do we need to do for cloud SDK to get this to work?
We only need the publish instance to try to find a way to access graphql endpoint in our local dev envs without authentication.