+ var idContext = iD.coreContext();
+ idContext.connection().apiConnections([]);
+ var url = location.protocol + "//" + location.host;
+ idContext.preauth({
+ url: url,
+ apiUrl: url === "https://www.openstreetmap.org" ? "https://api.openstreetmap.org" : url,
+ access_token: container.dataset.token
+ });
+
+ var id = idContext