CORS does not allow * wildcard with current apollo graphiql implementation #514
Closed
Description
Expected:
- Setup GraphQL endpoint with cors (default express setup)
- Setup GraphiQL (default setup)
- Allows querying
Actual:
- Throws
Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin '<location>' is therefore not allowed access.
Metadata
Assignees
Labels
No labels