OAM Advanced Rules Request Context not working(OAM Version 12.2.1.4.0)
I have a web application that can be accessed via https://soadev.odcservice.cn and it is protected by OAM. Now I want OAM to switch the authentication scheme when accessed via https://soatest.odcservice.cn. To achieve this, I configured a Pre-Authentication condition in OAM Advanced Rules with the condition: request.host.lower() == 'soatest.odcservice.cn', but it doesn't work and the authentication scheme doesn't switch. However, when I change the condition to location.isIPinRange('35.114.23.1','35.114.23.255'), it works. Does OAM have situations where the request context doesn't work?