Skip to main content

Cross-Origin Resource Sharing

The Sign in with Coinbase API v2 supports cross-origin HTTP requests, commonly referred as CORS. This means that you can call API resources using Javascript from any browser.

While CORS allows for many interesting use cases, it's important to remember that you should never expose private API keys to 3rd parties. CORS is mainly useful with unauthenticated endpoints (e.g., Bitcoin price information) and OAuth2 client side applications.

Was this helpful?