Skip to content

Clients that use __typename in queries with introspection disabled results in 403 #871

@sherzberg

Description

@sherzberg

We are working toward migrating from the apollo rust router with hive extension to this hive router and are seeing a difference in handling of introspection. We have introspection disabled in both router configs, but the hive-router returns 403 errors with a message of Introspection queries are disabled when making any query that uses __typename. The apollo router does not behave this way.

The docs here say __typename is used by the apollo client (I realize that is apollo docs, but I assume quite a few people are using that client):
https://www.apollographql.com/docs/apollo-server/schema/schema#the-__typename-field

Is this a known difference in handling of this feature? I'm not a graphql expert so not sure what the direction of this should be, just looking for some guidance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions