<p></p>
<p dir="auto">Web app opens a popup window:<br>
<a href="https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/src/osm-auth.mjs#L133">https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/src/osm-auth.mjs#L133</a></p>
<p dir="auto">and sets up a callback for it:<br>
<a href="https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/src/osm-auth.mjs#L195">https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/src/osm-auth.mjs#L195</a></p>
<p dir="auto">When the redirect landing page is reached in the popup window, the callback is invoked on the opener window:<br>
<a href="https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/land.html#L5">https://github.com/osmlab/osm-auth/blob/8744617fa7f318e769c39e0e314c4fe537d26ec6/land.html#L5</a></p>
<p dir="auto">If another window gets to the redirect landing page, there's no opener with the callback.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4246#issuecomment-1802343046">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNVU4P7Q6NKKVYNIZLYDO6NNAVCNFSM6AAAAAA4WTGC3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGM2DGMBUGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOIJNKV7PGPWONFCA3YDO6NNA5CNFSM6AAAAAA4WTGC3OWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTLNWJIM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4246/1802343046</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4246#issuecomment-1802343046",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4246#issuecomment-1802343046",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>