@@ -54,7 +54,7 @@ export const gatewayConfig = defineConfig({
54
54
// Look and extract for the token in the 'authorization' header, with the 'Bearer' prefix.
55
55
tokenLookupLocations: [extractFromHeader ({ name: ' authorization' , prefix: ' Bearer' })],
56
56
// Decode and validate the token using the provided signing key.
57
- singingKeyProviders : [createInlineSigningKeyProvider (signingKey )],
57
+ signingKeyProviders : [createInlineSigningKeyProvider (signingKey )],
58
58
// Forward the verified token payload to the upstream GraphQL subgraphs.
59
59
forward: {
60
60
payload: true
@@ -78,7 +78,7 @@ export const gatewayConfig = defineConfig({
78
78
extensionsFieldName: " jwt" , // optional, default is "jwt"
79
79
},
80
80
// Configure your signing providers: either a local signing-key or a remote JWKS are supported.
81
- singingKeyProviders : [
81
+ signingKeyProviders : [
82
82
createInlineSigningKeyProvider (signingKey ),
83
83
createRemoteJwksSigningKeyProvider ({ jwksUri: ' https://example.com/.well-known/jwks.json' })
84
84
]
@@ -526,7 +526,7 @@ export const gatewayConfig = defineConfig({
526
526
// ...
527
527
jwt: {
528
528
// ...
529
- singingKeyProviders : [createInlineSigningKeyProvider (process .env .MY_JWT_SECRET )]
529
+ signingKeyProviders : [createInlineSigningKeyProvider (process .env .MY_JWT_SECRET )]
530
530
}
531
531
})
532
532
```
@@ -552,7 +552,7 @@ export const gatewayConfig = defineConfig({
552
552
// ...
553
553
jwt: {
554
554
// ...
555
- singingKeyProviders : [
555
+ signingKeyProviders : [
556
556
createRemoteJwksSigningKeyProvider ({
557
557
jwksUri: ' https://example.com/.well-known/jwks.json'
558
558
})
@@ -580,7 +580,7 @@ export const gatewayConfig = defineConfig({
580
580
// ...
581
581
jwt: {
582
582
// ...
583
- singingKeyProviders : [
583
+ signingKeyProviders : [
584
584
// In case your remote provider is not available, the plugin will try use the inline provider.
585
585
createRemoteJwksSigningKeyProvider ({
586
586
jwksUri: ' https://example.com/.well-known/jwks.json'
0 commit comments