<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://www.openstreetmap.org/login?referer=%2Fedit%3Frelation%3D15090094#map=19/33.411025/-114.923289" rel="nofollow">https://www.openstreetmap.org/login?referer=%2Fedit%3Frelation%3D15090094#map=19/33.411025/-114.923289</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<ol dir="auto">
<li>Open osm.org in a container that is not normally used for osm.org (i.e. you are not logged in there)</li>
<li>Press "Edit" (you are redirected to the login page, some referrer value is added to the URL)</li>
<li>Change the container of the tab (right click tab -> "Open in new container tab" -> select the container where you are logged into OSM)</li>
<li>The login page is displayed even though you are logged in</li>
</ol>
<p dir="auto">The expected behavior would be to check if the user is logged in already and if he is, redirect him to the <code class="notranslate">referer</code> or to the main page.</p>
<p dir="auto">The bug appears in Firefox when using <a href="https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/" rel="nofollow">multi-account-containers</a>. I don't know if it's reproducible in other browsers.</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><a href="https://github.com/user-attachments/assets/aa1728de-3370-4d44-8a81-43fc7eef925d">image.png (view on web)</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/issues/5441">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM5X234XJNPX57QEW32HGQ7NAVCNFSM6AAAAABUFBMSCKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TQMJYHAYTGNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMSRVYC65YJRFTCBND2HGQ7NA5CNFSM6AAAAABUFBMSCKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKIZU4NE.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/5441</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/5441",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5441",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>