I am attempting to get Cloudflare Turnstile working within the OutSystems mobile app. This works fine on desktop, and on android however iOS apps use the outsystems:// protocol which is causing this error to show:
Blocked a frame with origin "https://challenges.cloudflare.com" from access a frame with origin "outsystems://x.outsystemsenterprise.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "outsystems". Protocols must match.
What would be an elegant way of doing this, without an additional iframe?
Thanks.
Hi @Blane Thompson ,
You’ve hit a hard platform boundary, not a Cloudflare bug, and your diagnosis is already correct.
iOS OutSystems mobile apps run inside a WKWebView using a custom outsystems:// scheme, and Cloudflare Turnstile requires same‑protocol, same‑origin access (https://) to function.
Cloudflare Turnstile:
Recommendation:
External HTTPS Challenge Page + Deep Link Return
Benefits of this approach:
Hope this helps.
Cheers,
Saugat