wknd tutorial has graphql pre-configured, but its giving forbidden

Avatar

Avatar

TB3dock

Avatar

TB3dock

TB3dock

24-03-2021

according to this tutorial, installing the latest wknd site from git, should give you a configured graphql endpoint ready to go.

 

Below we can see that the endpoint is configured, and the vanity url is http://localhost:4502/content/graphql/global/endpoint

 

TB3dock_0-1616622197744.png

 

The tutorial seems to be saying the correct URL to use is http://localhost:4502/content/graphql/global/endpoint.json

 

When I send a simple graphql request to this URL, I get this response:

 

{
"servlet":"org.apache.felix.http.base.internal.dispatch.DispatcherServlet-313d2b89",
"message":"Forbidden",
"url":"/content/graphql/global/endpoint.json",
"status":"403"
}

 

 

Any ideas?  Is it requiring some sort of authentication? If so, how do I disable it (i.e. make it public)

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

rush_pawan

Avatar

rush_pawan

rush_pawan

25-03-2021

did you check CORS enablement from OSGI mentioned at bottom of this page https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/g...

 

also, look at logs, you may get some clue there as well!!

 

because for me it works perfectly fine.