<p></p>
<blockquote>
<p dir="auto">that may not be popular with clients that have invested a lot here in optimising the flow</p>
</blockquote>
<p dir="auto">Looking at JOSM, I seem to remember that they <em>used to</em> have some "fully automatic" authorization where you'd input the username and password into JOSM itself and JOSM would then fake towards the OSM website to being a browser, i.e. logging in behind the curtains with these credentials and then granting authorization to itself in the next step, scraping the necessary data from the webpage that was never displayed to the user. <em>(If I remember correctly!)</em><br>
Fortunately, looking at it again now, it looks like they are doing it as intended by OAuth 2 now - opening osm.org in the browser and getting the callback for authorization back into the app.</p>
<p dir="auto">So, displaying the block message on an attempt to login and/or trying to authorize a new app would be of great help because whenever OSM responds with a 403 Forbidden, users will tend to check what's up with their access token, try to login again or whatever.<br>
Didn't test with other apps, but at least StreetComplete will just forget the access token and prompt the user to login again when presented with a 403 Forbidden error.</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/5490#issuecomment-2584958819">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNQ4ZKQJOCZ2JDVUHL2KBRT7AVCNFSM6AAAAABU67LUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBUHE2TQOBRHE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPT744UUBHKCOD3Q732KBRT7A5CNFSM6AAAAABU67LUOOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU2CNLWG.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/5490/2584958819</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/5490#issuecomment-2584958819",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5490#issuecomment-2584958819",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>