iPhone WKWebView Login issue: Something prevented the captcha from loading

Topic summary

• Main issue: Shopify admin OAuth authorization page loaded inside an iOS WKWebView shows “Something prevented the captcha from loading,” preventing login.

• Environment: iPhone app built with Xcode 13.2 on iOS 15. Uses WKWebView with JavaScript enabled and no ad blocker.

• OAuth request details: URL includes client_id, extensive scopes (products, orders, inventory, fulfillments), redirect_uri, state, and grant_options=offline.

• Evidence: Attached screenshot displays the captcha error message on the authorization page.

• Goal: Enable in‑app authorization (similar to Oberlo) by completing the Shopify OAuth flow within the WKWebView.

• Constraints/assumptions: Developer notes no ad blocking and JS enabled; no other diagnostics or network/policy changes reported.

• Status/outcome: No proposed fixes or decisions; discussion remains open with no resolution.

• Key unanswered questions: Why the captcha fails to load inside WKWebView and what approach or configuration change is needed to complete Shopify OAuth in this context.

Summarized with AI on February 23. AI used: gpt-5.

I’m developing an app similar with oberlo for iPhone (based on the latest Xcode 13.2 and iOS 15). I need to get authorized within the app with WKWebView page, and I got this. My URL request is kind of

https://myshopname.myshopify.com/admin/oauth/authorize?client_id=mykeyxxx&scope=read_products,write_products,read_orders,write_orders,read_inventory,write_inventory,read_fulfillments,write_fulfillments,read_merchant_managed_fulfillment_orders,write_merchant_managed_fulfillment_orders,read_third_party_fulfillment_orders,write_third_party_fulfillment_orders&redirect_uri=https://mydomainexample.com/auth/callback&state=31415912&grant_options=offline

Could you let me know what I should do?

To be highlighted, since it’s a WKWebView (Javascript enabled), there’s no ad blocker at all.