Skip to main content

Posts

Featured

Sign in with Apple Needs a Real Domain: Return URLs and Testing Through a Tunnel

If you have wired up Google or GitHub login, you probably tested it on http://localhost:3000 without a second thought. Then you tried Sign in with Apple, and the flow fell apart. There is no localhost return URL to register, some errors are not very specific, and the usual workaround is to put a tunnel such as ngrok in front of your dev server. That workaround works, but it skips the part that costs you time: every time your tunnel URL changes, the entry you created in the Apple Developer portal is wrong again. This guide explains why Sign in with Apple needs a public HTTPS domain, what you must register, how to test through a tunnel, and why a stable subdomain turns a recurring chore into a one-time setup. It covers the OAuth 2.0 / OpenID Connect web flow (Services ID, return URLs, form_post callbacks), not native iOS sign-in. Quick answers Can I use http://localhost as a return URL? In practice, no. Apple’s documentation requires each return URL to be absolute (scheme, hos...

Latest Posts

The Webhook Allowlist That Went Stale: Provider IP Ranges Change Under You

Your Deep Link Opens Safari, Not Your App: Testing Universal Links and Android App Links Through a Tunnel

Your Webhook Got Switched Off While Your Laptop Slept: Webhook Auto-Disable Rules by Provider (2026)

The Reconnect Stampede: Idempotency, Duplicate Deliveries and Out-of-Order Events When Your Tunnel Comes Back