diff --git a/dist/index.html b/dist/index.html index 3a5813340..673dcc29f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -46,12 +46,12 @@ .apiConnections([ { url: 'https://www.openstreetmap.org', - client_id: 'O3g0mOUuA2WY5Fs826j5tP260qR3DDX7cIIE2R2WWSc', - client_secret: 'b4aeHD1cNeapPPQTrvpPoExqQRjybit6JBlNnxh62uE' + client_id: '0tmNTmd0Jo1dQp4AUmMBLtGiD9YpMuXzHefitcuVStc', + client_secret: 'BTlNrNxIPitHdL4sP2clHw5KLoee9aKkA7dQbc0Bj7Q' }, { url: 'https://api06.dev.openstreetmap.org', - client_id: 'zod4KxHLYtOOvr8LTdUIhZqeAtDxzHRoEsaNkMt2pBc', - client_secret: 'wnDUzUidx8CM948E5fgdk89_-IeOOyjfvDhtn0-mX6k' + client_id: 'Ee1wWJ6UlpERbF6BfTNOpwn0R8k_06mvMXdDUkeHMgw', + client_secret: 'OnfWFC-JkZNHyYdr_viNn_h_RTZXRslKcUxllOXqf5g' } ]) .containerNode(container); diff --git a/index.html b/index.html index b3bf5be7d..dae23ef65 100644 --- a/index.html +++ b/index.html @@ -46,12 +46,12 @@ .apiConnections([ { url: 'https://www.openstreetmap.org', - client_id: 'O3g0mOUuA2WY5Fs826j5tP260qR3DDX7cIIE2R2WWSc', - client_secret: 'b4aeHD1cNeapPPQTrvpPoExqQRjybit6JBlNnxh62uE' + client_id: '0tmNTmd0Jo1dQp4AUmMBLtGiD9YpMuXzHefitcuVStc', + client_secret: 'BTlNrNxIPitHdL4sP2clHw5KLoee9aKkA7dQbc0Bj7Q' }, { url: 'https://api06.dev.openstreetmap.org', - client_id: 'zod4KxHLYtOOvr8LTdUIhZqeAtDxzHRoEsaNkMt2pBc', - client_secret: 'wnDUzUidx8CM948E5fgdk89_-IeOOyjfvDhtn0-mX6k' + client_id: 'Ee1wWJ6UlpERbF6BfTNOpwn0R8k_06mvMXdDUkeHMgw', + client_secret: 'OnfWFC-JkZNHyYdr_viNn_h_RTZXRslKcUxllOXqf5g' } ]) .containerNode(container); @@ -67,4 +67,4 @@ } - + \ No newline at end of file diff --git a/modules/services/osm.js b/modules/services/osm.js index ed30a3bbb..aa47d180b 100644 --- a/modules/services/osm.js +++ b/modules/services/osm.js @@ -18,8 +18,8 @@ var urlroot = 'https://www.openstreetmap.org'; var redirectPath = window.location.origin + window.location.pathname; var oauth = osmAuth({ url: urlroot, - client_id: 'O3g0mOUuA2WY5Fs826j5tP260qR3DDX7cIIE2R2WWSc', - client_secret: 'b4aeHD1cNeapPPQTrvpPoExqQRjybit6JBlNnxh62uE', + client_id: '0tmNTmd0Jo1dQp4AUmMBLtGiD9YpMuXzHefitcuVStc', + client_secret: 'BTlNrNxIPitHdL4sP2clHw5KLoee9aKkA7dQbc0Bj7Q', scope: 'read_prefs write_prefs write_api read_gpx write_notes', redirect_uri: redirectPath + 'land.html', loading: authLoading, diff --git a/test/spec/services/osm.js b/test/spec/services/osm.js index 65675d8a6..bad227032 100644 --- a/test/spec/services/osm.js +++ b/test/spec/services/osm.js @@ -5,8 +5,8 @@ describe('iD.serviceOsm', function () { function login() { connection.switch({ url: 'https://www.openstreetmap.org', - client_id: 'O3g0mOUuA2WY5Fs826j5tP260qR3DDX7cIIE2R2WWSc', - client_secret: 'b4aeHD1cNeapPPQTrvpPoExqQRjybit6JBlNnxh62uE', + client_id: '0tmNTmd0Jo1dQp4AUmMBLtGiD9YpMuXzHefitcuVStc', + client_secret: 'BTlNrNxIPitHdL4sP2clHw5KLoee9aKkA7dQbc0Bj7Q', access_token: 'foo' // preauth }); }