You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that Hasura Remote Schema Joins function needs to be able to introspect the remote GraphQL endpoint. I'd however love to have the ability to prevent everyone to introspect any GraphQL schemas which are joined. Some schemas are not meant to be public and inspectable by everyone.
It would be great if through either a Hasura CLI argument or a dedicated HASURA_ENV_VAR.. it'd be possible to set a secret which would be passed into the request header. This header could then be used to only authorize Hasura to introspect the schema (operationName: 'IntrospectionQuery') on the GraphQL endpoint.
btw: the docs could be improved to make it clear that supporting introspection operation is required for adding a remote schema (and subsequent hasura metadata apply or hasura metadata reload)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I understand that Hasura Remote Schema Joins function needs to be able to introspect the remote GraphQL endpoint. I'd however love to have the ability to prevent everyone to introspect any GraphQL schemas which are joined. Some schemas are not meant to be public and inspectable by everyone.
It would be great if through either a Hasura CLI argument or a dedicated
HASURA_ENV_VAR..
it'd be possible to set a secret which would be passed into the request header. This header could then be used to only authorize Hasura to introspect the schema (operationName: 'IntrospectionQuery'
) on the GraphQL endpoint.btw: the docs could be improved to make it clear that supporting introspection operation is required for adding a remote schema (and subsequent
hasura metadata apply
orhasura metadata reload
)Beta Was this translation helpful? Give feedback.
All reactions