We are experiencing difficulties when creating custom modals that reference specific ports (e.g., localhost:4200) for iframes. This limitation is currently blocking local development of our Pipedrive extensions.
It seems this restriction was added recently — is this a bug?
I’m fairly new to the Pipedrive ecosystem myself, but I can confirm that Pipedrive doesn’t allow localhost URLs to be registered as routes for custom modals, as you mentioned.
According to the custom modals documentation, the iframe URL needs to be HTTPS-based, which is why localhost won’t work—it’s a security requirement rather than a bug.
As a workaround, you could try using a tunneling service like ngrok or Cloudflare Tunnel to expose your localhost with HTTPS to a public URL that Pipedrive will accept.