Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
The TenantContextRewriteValve does not call the next valves in most flows, which prevents custom valves from being called. By moving the TenantContextRewriteValve to the end of the chain, the custom valves can be executed as well.
Purpose
Addresses https://github.com/wso2/product-is/issues/20589.
The TenantContextRewriteValve does not call the next valves in most flows, which prevents custom valves from being called. By moving the TenantContextRewriteValve to the end of the chain, the custom valves can be executed as well.