Skip to content

Product documentation

API gateway configuration

Generated reference for the oauthy.* configuration bound by API gateway.

API gateway configuration

The public ingress for product-api (Spring Cloud Gateway): edge IP filtering.

oauthy.gateway.body-limit

Owner: api-gateway · Source: servers/api-gateway/src/main/kotlin/com/devnow/apigateway/bodysize/RequestBodySizeLimitProperties.kt

SSO-2000 — per-path request-body size caps for the gateway.

PropertyTypeDefaultDescription
oauthy.gateway.body-limit.default-maxDataSizeDataSize.ofMegabytes(1)cap applied to every path that is not the import path.
oauthy.gateway.body-limit.import-maxDataSizeDataSize.ofMegabytes(8)raised cap applied only to importPathPrefix.
oauthy.gateway.body-limit.import-path-prefixString"/api/v1/users/import"the single path prefix that receives importMax.

oauthy.gateway.ip-filter

Owner: core/starters/gateway · Source: core/starters/gateway/src/main/kotlin/com/devnow/core/gateway/starter/iprules/IpFilterProperties.kt

Configuration for TenantIpFilter (SSO-40).

PropertyTypeDefaultDescription
oauthy.gateway.ip-filter.proxy-trust-depthInt1Number of trusted proxies in front of the gateway.

Every property above is set as a YAML key under application.yml or, equivalently, as an environment variable using Spring's relaxed binding (oauthy.hub.platform-client-ids -> OAUTHY_HUB_PLATFORM_CLIENT_IDS). A _required_ default means the service will not start until the value is supplied.