You can now setup Cross Origin Resource Sharing (CORS) from the portal or through the CLI.