This repository was archived by the owner on Dec 19, 2023. It is now read-only.
Any way to configure allowedOrigins on the graphql servlet for Cors requests? #376
Closed
Description
Firstly, big thanks for putting this altogether! Saved me a huge amount of time already.
From what I can see in GraphQLWebAutoConfiguration
with graphql.servlet.corsEnabled=true
uses the default permit all:
CorsConfiguration corsConfiguration = new CorsConfiguration().applyPermitDefaultValues();
Am I missing where I can configure the allowedOrigins for Cors requests through config or is this not currently supported?
Cheers