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
and for both the instance use the below username and password:
Here all the wknd pages are working fine in both author and publish instance.
In Cloud Service environment content is distributed from the Author Service to the Publish Service using Sling Content Distribution and the Adobe Pipeline whereas during development, to simulate the distribution of content using the local Author and Publish service the legacy Replication agents can be used.