<p></p>
<blockquote>
<p dir="auto">I know, that is why I specifically put "reasonable" filter word. I know about workarounds like showing 403 response message and about <a href="https://github.com/streetcomplete/StreetComplete/issues/6062#issuecomment-2565450817" data-hovercard-type="issue" data-hovercard-url="/streetcomplete/StreetComplete/issues/6062/hovercard">streetcomplete/StreetComplete#6062 (comment)</a></p>
</blockquote>
<p dir="auto">Deleting the token is a workaround. This workaround is not going to work for non-needs_view blocks. You're not even asking to make it work for non-needs_view blocks.</p>
<p dir="auto">Sending the user to <code class="notranslate">/login?referer=%2Fuser%2Fusername%2Fblocks</code> is a workaround that somewhat works for non-needs_view blocks too and is not affected by GDPR. (*)</p>
<p dir="auto">Don't care about non-needs_view blocks and want a simpler workaround? Send users to <code class="notranslate">/login</code>. (**)</p>
<p dir="auto">But what if the token is actually invalid? Isn't it useless to do (*) or (**) in this case? You can check the token at <code class="notranslate">/oauth2/introspect</code>, hopefully a <em>reasonable</em> endpoint to check tokens that works even for blocked users. Again, deleting a valid token and sending the user to get a new one because you want the side-effect of them also seeing the block message is a workaround.</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-2587074465">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIZN23SM2LUG4TWCDD2KO33BAVCNFSM6AAAAABU67LUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBXGA3TINBWGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJK7PXNZQN6MZ7GHO32KO33BA5CNFSM6AAAAABU67LUOOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTU2GOP2C.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/2587074465</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-2587074465",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5490#issuecomment-2587074465",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>