Skip to content
CCPEDIAby Unity Nodes
CLOSEDPull Request

docs(wallet-gateway-remote): explain how to fix a dApp blocked by CORS

#3118by joel-daCreated 04-12-2026

Searching the docs for "cors" found nothing on what to do when a dApp can't connect to the Wallet Gateway (reported for the Splice validator's Docker Compose setup, where only http://portfolio.localhost is allowed).

  • Troubleshooting: new "dApp blocked by CORS" section. Set server.allowedOrigins, match origins exactly, check the deployment's own default, and don't add CORS headers in a reverse proxy: that bypasses the setting and duplicates Access-Control-Allow-Origin once the origin is allowed.
  • Configure: the allowedOrigins entry says the gateway sends the CORS headers itself and links the new section.
  • User API reference: fix the documented default ("*", not ["*"]) and link the new section.

Docs only. Making the Docker Compose default consistent with Helm, and with the JSON API's nginx-based CORS, is for the Splice deployment.