
EtienneandGitHub
71724de7dd
Security - disable gql introspection for non-auth user (#16047)
closes https://github.com/twentyhq/private-issues/issues/351
closes https://github.com/twentyhq/private-issues/issues/350
Before, introspection query works without token. After, fails.
```
query IntrospectionQuery {
__schema {
queryType {
name
}
mutationType {
name
}
subscriptionType {
name
}
types {
...FullType
}
directives {
name
description
locations
args {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
description
type {
...TypeRef
}
defaultValue
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}
```
2025-11-25 15:39:29 +01:00
..
2025-09-29 13:31:55 +02:00
2025-11-13 16:06:04 +00:00
2025-11-19 17:13:07 +01:00
2025-11-25 15:39:29 +01:00
2025-11-25 14:07:32 +01:00
2025-10-31 17:46:58 +01:00
2025-11-24 18:57:47 +01:00
2025-02-07 10:05:07 +01:00
2025-09-10 15:12:38 +02:00
2025-09-23 18:07:53 +02:00
2025-08-19 18:10:35 +02:00
2025-07-31 12:00:59 +02:00
2025-11-16 18:20:06 +01:00
2025-11-21 11:09:47 +01:00
2025-11-16 18:20:06 +01:00
2025-08-11 14:10:04 +02:00
2025-11-16 18:20:06 +01:00