<p></p>
<p>I've noticed that in <a href="https://github.com/openstreetmap/iD">iD editor</a> in case when user is prompted to authorize before saving their work (this happens if we hit iD release endpoint directly) authorization is not completed as landing page shows 'Page not found'.</p>
<p>Why am I putting issue here:</p>
<ul>
<li>iD auth uses <a href="https://github.com/osmlab/osm-auth">osm-auth</a> and communicates with openstreetmap endpoint for token handshake. iD hasn't had any changes in auth protocol while this repo had recent changes so this felt like a good place to start investigation. :)</li>
</ul>
<p>When this started happening:</p>
<ul>
<li>~2-3days ago</li>
</ul>
<p>Where this started happening:</p>
<ul>
<li><a href="https://ideditor-release.netlify.app" rel="nofollow">https://ideditor-release.netlify.app</a> + when running iD locally during development (localhost:8080)<br>
(weirdly I couldn't reproduce this on <a href="https://ideditor.netlify.app/" rel="nofollow">https://ideditor.netlify.app/</a>)</li>
</ul>
<p>Repo steps:</p>
<ol>
<li>Go to <a href="https://ideditor-release.netlify.app/" rel="nofollow">https://ideditor-release.netlify.app/</a></li>
<li>Make some edit</li>
<li>Click Save</li>
<li>When prompted enter credentials.</li>
<li>Grant Access<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/78906108/125090740-fd73aa00-e0cf-11eb-991d-744b5bfedfde.png"><img src="https://user-images.githubusercontent.com/78906108/125090740-fd73aa00-e0cf-11eb-991d-744b5bfedfde.png" alt="image" style="max-width:100%;"></a></li>
<li>Page Not Found<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/78906108/125090991-4a578080-e0d0-11eb-8042-4f2111601bf7.png"><img src="https://user-images.githubusercontent.com/78906108/125090991-4a578080-e0d0-11eb-8042-4f2111601bf7.png" alt="image" style="max-width:100%;"></a></li>
</ol>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/tomhughes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> for visibility.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3254">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN5BUENWQKEAVXVBFLTW4EVRANCNFSM5AC5NARA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLO2ZO2SWEVO43OCH23TW4EVRA5CNFSM5AC5NARKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OAUBTLQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3254",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3254",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>