Skip to content

Commit

Permalink
fixes #205 update values.yml to change openapi-security to security (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Aug 7, 2024
1 parent b16bacd commit 6404df2
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions config/client-proxy-market/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ cache.caches:
expiryInMinutes: 129600
maxSize: 100

# openapi-security.yml
openapi-security.skipPathPrefixes:
# security.yml
security.skipPathPrefixes:
- /adm/server/info
8 changes: 4 additions & 4 deletions config/client-proxy-transform/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ oauthServer.client_credentials: ["client_id1:client_secret1","client_id2:client_
limit.enabled: false
limit.rateLimit: 1000/m

# openapi-security.yml
openapi-security.skipPathPrefixes: ["/v1/documents", "/v1/pets", "/adm/server/info"]
openapi-security.keyResolver: X509Certificate
openapi-security.skipVerifyScopeWithoutSpec: true
# security.yml
security.skipPathPrefixes: ["/v1/documents", "/v1/pets", "/adm/server/info"]
security.keyResolver: X509Certificate
security.skipVerifyScopeWithoutSpec: true

# openapi-handler.yml
openapi-handler.ignoreInvalidPath: true
Expand Down
4 changes: 2 additions & 2 deletions config/light-portal/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ cors.allowedMethods:
- PUT
- DELETE

#openapi-security.yml
openapi-security.skipPathPrefixes:
# security.yml
security.skipPathPrefixes:
/adm
4 changes: 2 additions & 2 deletions config/local/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ server.serviceId: com.networknt.local-gateway-1.0.0
pathPrefixService.mapping:
/v1/pets: com.networknt.petstore-1.0.0

# openapi-security.yml
openapi-security.enableVerifyJwt: false
# security.yml
security.enableVerifyJwt: false

# openapi-validator.yml
openapi-validator.enabled: true
Expand Down
12 changes: 6 additions & 6 deletions config/server-proxy-petstore/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ client.tokenProxyPort:
client.timeout: 1000
client.tokenKeyEnableHttp2: true

#security.yml
openapi-security.enableVerifyJwt: false
openapi-security.enableExtractScopeToken: false
openapi-security.enableVerifyScope: false
openapi-security.keyResolver: X509Certificate
openapi-security.bootstrapFromKeyService: false
# security.yml
security.enableVerifyJwt: false
security.enableExtractScopeToken: false
security.enableVerifyScope: false
security.keyResolver: X509Certificate
security.bootstrapFromKeyService: false
# okta security end

# service.yml
Expand Down
16 changes: 8 additions & 8 deletions product/external-access-point/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ client.tokenKeyUri: /oauth2/aus66u5cybTrCsbZs1d6/v1/keys
client.tokenKeyEnableHttp2: false


#openapi-security.yml
# security.yml
# Enable JWT verification flag.
openapi-security.enableVerifyJwt: true
security.enableVerifyJwt: true
# Extract JWT scope token from the X-Scope-Token header and validate the JWT token
openapi-security.enableExtractScopeToken: false
security.enableExtractScopeToken: false
# Enable JWT scope verification. Only valid when enableVerifyJwt is true.
openapi-security.enableVerifyScope: false
security.enableVerifyScope: false
# Enable JWT scope verification.
# Only valid when (enableVerifyJwt is true) AND (enableVerifyScope is true)
openapi-security.enableVerifyJwtScopeToken: false
openapi-security.keyResolver: JsonWebKeySet
openapi-security.bootstrapFromKeyService: true
openapi-security.skipPathPrefixes:
security.enableVerifyJwtScopeToken: false
security.keyResolver: JsonWebKeySet
security.bootstrapFromKeyService: true
security.skipPathPrefixes:
- /v1/pets
- /v1/cats
- /v1/employees
Expand Down
12 changes: 6 additions & 6 deletions product/light-lambda-proxy/config/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ client.tokenProxyPort:
client.timeout: 1000
client.tokenKeyEnableHttp2: true

#security.yml
openapi-security.enableVerifyJwt: false
openapi-security.enableExtractScopeToken: false
openapi-security.enableVerifyScope: false
openapi-security.keyResolver: X509Certificate
openapi-security.bootstrapFromKeyService: false
# security.yml
security.enableVerifyJwt: false
security.enableExtractScopeToken: false
security.enableVerifyScope: false
security.keyResolver: X509Certificate
security.bootstrapFromKeyService: false
# okta security end

# service.yml
Expand Down
6 changes: 3 additions & 3 deletions product/light-proxy-server/values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ handler.chains.default:
#- sanitizer
- proxy

# openapi-security
openapi-security.enableVerifyScope: false
openapi-security.bootstrapFromKeyService: true
# security.yml
security.enableVerifyScope: false
security.bootstrapFromKeyService: true

# token.yml
token.enabled: true
Expand Down

0 comments on commit 6404df2

Please sign in to comment.