Skip to content

Commit e2b7550

Browse files
committed
fix authentication not working
see osmlab/osm-auth#138
1 parent d0bc971 commit e2b7550

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dist/land.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head></head>
44
<body>
55
<script>
6-
opener.authComplete(window.location.href);
6+
new BroadcastChannel("osm-api-auth-complete").postMessage(location.href);
77
window.close();
88
</script>
99
</body>

land.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head></head>
44
<body>
55
<script>
6-
opener.authComplete(window.location.href);
6+
new BroadcastChannel("osm-api-auth-complete").postMessage(location.href);
77
window.close();
88
</script>
99
</body>

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"marked": "~15.0.7",
6666
"node-diff3": "~3.1.0",
6767
"osm-api": "^2.1.3",
68-
"osm-auth": "~2.6.0",
68+
"osm-auth": "github:k-yle/osm-auth#kh/auth-broken",
6969
"pannellum": "2.5.6",
7070
"pbf": "^4.0.1",
7171
"polygon-clipping": "~0.15.7",

0 commit comments

Comments
 (0)