We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ca0b6 commit 8a6e60eCopy full SHA for 8a6e60e
packages/web/docs/src/content/gateway/other-features/security/aws-sigv4.mdx
@@ -188,7 +188,11 @@ import { defineConfig } from '@graphql-hive/gateway'
188
189
export const gatewayConfig = defineConfig({
190
awsSigV4: {
191
- incoming: true
+ incoming: {
192
+ enabled: (request, context) =>
193
+ !('jwt' in context) && !request.headers.get('authorization')?.startsWith('Bearer')
194
+ // other options
195
+ }
196
},
197
jwt: {
198
reject: {
0 commit comments