diff --git a/packages/web/docs/src/content/gateway/other-features/security/aws-sigv4.mdx b/packages/web/docs/src/content/gateway/other-features/security/aws-sigv4.mdx index 241972855..164a7e490 100644 --- a/packages/web/docs/src/content/gateway/other-features/security/aws-sigv4.mdx +++ b/packages/web/docs/src/content/gateway/other-features/security/aws-sigv4.mdx @@ -188,7 +188,11 @@ import { defineConfig } from '@graphql-hive/gateway' export const gatewayConfig = defineConfig({ awsSigV4: { - incoming: true + incoming: { + enabled: (request, context) => + !('jwt' in context) && !request.headers.get('authorization')?.startsWith('Bearer') + // other options + } }, jwt: { reject: {