Our Forge Custom UI app cannot open external links with a custom protocol (e.g., jetbrains://php-storm/navigate/reference?project=app&path=SomeController.php
).
We attempted to enable popups by adding the sandbox setting in our manifest:
sandbox:
allow:
- allow-popups
However, this did not resolve the issue—the link remains blocked due to sandbox restrictions.
When using @forge/bridge
’s router.open
to open a custom protocol we receive the following error in our console:
global-bridge.js:2 Uncaught (in promise) Error: link is invalid:
It appears that router.open does not accept custom protocol URLs. Our use case requires opening these links in an external application (PhpStorm).