GraphQL API access controls

I am new to Strapi. I have everything set-up and working, however, I’m not clear on how to set up access control to the /graphql endpoint. Currently queries through the playground fail with the code “GRAPHQL_VALIDATION_FAILED” which makes sense since i haven’t set up any kind of access control. The API tokens docs seem to speak specifically to the REST API, and the GraphQL sections say nothing about access/permissions/authentication. Neither Getting Started with GraphQL or GraphQL API. Can someone point me to the relevant docs or examples? Thanks!!

System Information
  • Strapi Version: v4.4.3
  • Operating System: MacOS
  • Database: Postgress
  • Node Version: v16.17.0
  • NPM Version:
  • Yarn Version:

Figured it out. The documentation had me a bit confused. Might be worth updating the docs with info about how to set and use API tokens in the context of the Graphql plugin. Thanks!

Hi @gannonh how were you able to get the graphql working?