<p></p>
<p dir="auto">I've looked at the code changes made in other libraries but I'm not sure I understand how one knows that the popup window was closed and that the login flow needs to be cancelled.<br>
Have any of you found a solution to this scenario?<br>
I'm using an updated "private" version of osm-oauth since I also need to support capacitor login flow, which is a bit different, I can contribute to osm-auth if there's an interest there.<br>
Here's the problem in my code with the recent change in security - the <code class="notranslate">popup.closed</code> is returning true now when redirecting the popup to the OSM login page, which prevent me to know if the window was actually closed and login was cancelled by the user.<br>
<a href="https://github.com/IsraelHikingMap/Site/blob/360d968921cae4c0b355936b2710587f4dbc4881/IsraelHiking.Web/src/application/services/authorization.service.ts#L120">https://github.com/IsraelHikingMap/Site/blob/360d968921cae4c0b355936b2710587f4dbc4881/IsraelHiking.Web/src/application/services/authorization.service.ts#L120</a></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/commit/2ff4d6a4e633e479568572090eb6a16074103cd9#commitcomment-161835429">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOCKYGX64MO5576P7D3HYYVJAVCNFSM6AAAAACA65SOISVHI2DSMVQWIX3LMV43OQ3PNVWWS5CDN5WW2ZLOOQ5TCNRRHAZTKNBSHE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKNO2DDSXOGE4PDPH33HYYVJA5CNFSM6AAAAACA65SOISWGG33NNVSW45C7OR4XAZNNINXW23LJORBW63LNMVXHJKTDN5WW2ZLOORPWSZGOBGSWTJI.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/commit/2ff4d6a4e633e479568572090eb6a16074103cd9/161835429</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/commit/2ff4d6a4e633e479568572090eb6a16074103cd9#commitcomment-161835429",
"url": "https://github.com/openstreetmap/openstreetmap-website/commit/2ff4d6a4e633e479568572090eb6a16074103cd9#commitcomment-161835429",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>