<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mnalis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mnalis">@mnalis</a></p>
<blockquote>
<p dir="auto">Here is some pseudocode</p>
</blockquote>
<p dir="auto">This is what effectively already happening for 0-hour needs_view blocks, except instead of marking/unmarking every token there's block activation/deactivation. And its happening <em>for every app</em> because there's no mechanism to select a particular app. I don't see any app selection in this pseudocode either: <code class="notranslate">UPDATE tokens SET valid=false WHERE user_id=$user_id</code>. Moderators don't know which apps are authorized by users, they can't select which apps to block.</p>
<blockquote>
<p dir="auto">It seems to me they do that because there is no reasonable better solution available currently</p>
</blockquote>
<p dir="auto">I'd argue that there is, see my previous post.</p>
<blockquote>
<p dir="auto">I'd say that in all those cases displaying the block message again is just fine</p>
</blockquote>
<p dir="auto">That's not what currently happening. If the user have seen the block message, needs_view is cleared. If the block still has its end date in the future, it's still active, but it won't be shown on login. For it to be show, you have to ignore needs_view and just always show active blocks. This is adding more cases when blocks are shown, similar to what this issue proposes.</p>
<blockquote>
<blockquote>
<p dir="auto">If we add some kind of notifications for blocks, they won't work because the user needs to be logged in to receive notifications.</p>
</blockquote>
</blockquote>
<blockquote>
<p dir="auto">I'm not sure about this. Is that something which already exists, or are you talking about potential future additions of functionality to OSM?</p>
</blockquote>
<p dir="auto">It doesn't exist now.</p>
<blockquote>
<p dir="auto">In any case, if token is invalidated</p>
</blockquote>
<p dir="auto">I see you edited that post to replace <em>sessions</em> with <em>tokens</em>. I was responding to the <em>sessions</em> version.</p>
<blockquote>
<p dir="auto">I meant additional change. Surely something already happens in the apps when they receive "403 Forbidden",</p>
</blockquote>
<p dir="auto">Something that already happens is that some apps lie to their users that the token is invalid, although they could have checked it. That includes JOSM by the way.</p>
<blockquote>
<blockquote>
<p dir="auto">And I haven't even suggested to display the block message in the app.</p>
</blockquote>
</blockquote>
<blockquote>
<p dir="auto">I'll note that this particular problem is also completely avoided in my suggestion</p>
</blockquote>
<p dir="auto">It isn't because the problem here is for the apps that <em>want to display the message inside the app</em>. Your suggestion is for the apps that <em>don't want it</em>.</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-2587226746">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO4RQVID4DJZOU76RT2KPDLHAVCNFSM6AAAAABU67LUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBXGIZDMNZUGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLME5RXXLIUIIWTYHC32KPDLHA5CNFSM6AAAAABU67LUOOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU2GXZHU.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/2587226746</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-2587226746",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5490#issuecomment-2587226746",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>