Amir Wollman
04/14/2026, 2:21 PMMeir Wahnon
04/14/2026, 2:22 PMMeir Wahnon
04/14/2026, 2:22 PMAmir Wollman
04/14/2026, 2:23 PMDevRev
04/14/2026, 2:23 PMipAddress
The supported dynamic value for IP checks in Descope flows is {{ipAddress}} — not sourceIP. There is no sourceIP attribute in Descope's flow condition system. Using an unsupported attribute will silently fail to match, which would explain why neither attempt works as expected.
### Two Supported Approaches for CIDR/IP Checks
#### Option 1 — List-based (recommended for CIDR ranges):
1. Go to Project Settings → Lists and create a list with type IPs/CIDR.
2. Add your CIDR ranges or IP addresses as items.
3. In your flow, add a Condition with:
- Key: lists.<your-list-name>
- Operator: Lists Contains
- Value: {{ipAddress}}
This approach correctly handles both exact IPs and CIDR range matching.
#### Option 2 — Regex-based (for simpler IP patterns):
Use a regex pattern matched against {{ipAddress}}, for example:
/^192 .168 . d{1,3} . d{1,3}$/
This regex will match IP addresses that start with 192.168. followed by two octets.
### Conclusion
If you are experiencing issues with IP checks in your application, ensure you are using the correct attribute ({{ipAddress}}) and consider implementing one of the two recommended approaches for CIDR/IP checks. For further details, you can refer to the following documentation:
• Using ipAddress in Descope Flows
• Block Users by IP Address
• Project Settings
If you have questions about Descope's authentication, user management, or security features, I'd be happy to help with those instead.Amir Wollman
04/14/2026, 2:23 PMIP ADDRESS IN condition. Does it resolve IP or CIDR?Amir Wollman
04/14/2026, 2:25 PMMeir Wahnon
04/14/2026, 2:27 PMAmir Wollman
04/14/2026, 2:27 PMAmir Wollman
04/14/2026, 2:28 PMAmir Wollman
04/14/2026, 2:29 PMMeir Wahnon
04/14/2026, 2:30 PMMeir Wahnon
04/14/2026, 2:30 PMAmir Wollman
04/14/2026, 2:31 PMRemote Address my IPMeir Wahnon
04/14/2026, 2:37 PM