Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Level 8
Level 8

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




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:





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



2 Replies
Community Advisor
Community Advisor

did you check CORS enablement from OSGI mentioned at bottom of this page


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


because for me it works perfectly fine.

Level 8
Level 8

Thanks for the reply. The tutorial you refer to has the client application do some sort of authentication, and has the admin username and password in the config:



# Use Authorization when connecting to an AEM Author environment



The crux is I want this to be public, and not require authentication (especially with user/pass) , but cant find out how to do this