You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
Steps to reproduce the behavior
Enable users-permissions plugin
Enable graphql plugin
Enable useGETForQueries for apollo client
Create content type and enable public access (and populate)
Query your content type without auth-token
200 response with forbidden error in payload
Expected behavior
Queried content should be inside the payload without errors
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
If applicable, add code samples to help explain your problem.
Additional context
The bug appeared first after upgrading from an version from before pull request #13838 which skips auth for GET requests.
This works for the scenario without users-permissions but if it's present fails here:
For the moment we don't support using GET as the GraphQL playground is bound to that method in Koa. Please submit a feature request for this instead on https://feedback.strapi.io
Bug report
Required System information
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the behavior
Expected behavior
Queried content should be inside the payload without errors
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
If applicable, add code samples to help explain your problem.
Additional context
The bug appeared first after upgrading from an version from before pull request #13838 which skips auth for GET requests.
This works for the scenario without users-permissions but if it's present fails here:
strapi/packages/plugins/graphql/server/services/content-api/wrap-resolvers.js
Line 123 in 2042d6b
The text was updated successfully, but these errors were encountered: