On this page
Add a trusted origin and enable CORS
For web applications, you have to identify your app's URL as a trusted origin and enable CORS:
- In the Admin Console, go to Security > API.
- On the API page, select the Trusted Origins tab.
- Click Add Origin and then enter a name for the organization origin.
- In the Origin URL field, specify the base URL of the website that you want to allow cross-origin requests from. If you're using the sample app, specify
http://localhost:8000/. - Under Type, select the CORS and Redirect check boxes.
- Click Save.