More on CORS
https://myapp.com
cannot access APIs at https://api.cdp.coinbase.com
https://app.developer.com
wants to send a POST request to https://api.cdp.coinbase.com/embedded-wallet-api/projects/{projectId}
(e.g., to create a wallet).https://app.developer.com
as an allowed domain for the project.Access CDP Portal
Add your domain
https://yourdapp.com
in production or http://localhost:3000
for local development):localhost
for production use. Malicious apps running locally could impersonate your frontend and abuse your project credentials.Domain format requirements
<scheme>://<host>:<port>
<scheme>
must be either http
or https
<host>
must be a valid hostname:<port>
is optional for ports 80 (http) and 443 (https), but required for all other ports (e.g., http://localhost:3000
)Save your changes
useSignInWithEmail
, useEvmAddress
, and useSendEvmTransaction