This sample shows how add an instance of OpenStreetMapLayer to a Map in a SceneView. The tiled servers hosting the data are already enabled for CORS. There is no need reference them using esriConfig.request.corsEnabledServers. This sample automatically takes care of this for you.