-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secure Configuration for GraphiQL and Introspection #38
Comments
I must say that I don't understand why Introspection should be ever disabled. Introspection is an integral part of GraphQL and no service I know disables it. In fact there is no obvious way to do that in GraphQL Java and nobody ever asked for it afaik. Of course you can argue you want it authenticated, which is a reasonable ask. |
I know even less but probably applies in cases where the data is sensitive. There is a link to a real-world example that's along those lines. My best guess is it probably comes down to a convenient way to control it and what the default settings should be. |
relates to #252 |
I'm closing this issue as superseded by spring-projects/spring-boot#29248 as it's adressed the introspection part. |
According to the OWASP cheatsheet for GraphQL, GraphiQL and introspection should not be on and accessible without authentication by default. For now simply having GraphiQL disabled by default, but beyond that we need to consider the options more broadly. How it works out of the box, how it is configured and controlled, how it relates to development mode, security settings, and so on.
The text was updated successfully, but these errors were encountered: