<p></p>
<h3 dir="auto">Problem</h3>
<p dir="auto">OSM users are redirected to OSM login for authentication. We continuously receive complaints about users unable to access their accounts.</p>
<p dir="auto">95% of the user issues are due to extra space added to the OSM username/email that is added by many mobile keyboards with auto-completion. Users do not notice that extra space and their login fails</p>
<h3 dir="auto">Description</h3>
<p dir="auto">The requested solution to the problem is to trim leading and trailing whitespace. It is a safe change since leading and trailing whitespace characters are not permitted as OSM usernames or an e-mail address</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">The error produced when a space character is appended to the username, as done by many mobile keyboards with auto-completion</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/1304610/66999f36-6b57-4e02-a286-cd4e213856cf">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/4471">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKZ6M3OERZ4WLNMZ3LYN6KVJAVCNFSM6AAAAABBWBDILWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TKOJXHE3DKMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLATPXYUDJT4GOFNX3YN6KVJA5CNFSM6AAAAABBWBDILWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHXPHPQM.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/4471</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/4471",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4471",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>