<p></p>
<p dir="auto">Thank you! Everything works as expected now :)<br>
(tested on Android/Chrome and iOS/Safari)</p>
<p dir="auto">Just out of curiosity, couldn't you tighten the form-action CSP so it only or additionally allows the defined oauth2 redirect URI?<br>
I believe this is what they did on nextcloud: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nextcloud/server/commit/1b5d85a4ca6786f2c63a38716347a0bf26f51bed/hovercard" href="https://github.com/nextcloud/server/commit/1b5d85a4ca6786f2c63a38716347a0bf26f51bed">nextcloud/server@<tt>1b5d85a</tt></a><br>
But I might be wrong or maybe it breaks something else..</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/3424#issuecomment-1014471204">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI2JBZ7NBZMUKM3MP3UWQDZ3ANCNFSM5MEDWCMQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJYM4DIPDVKMSZCYILUWQDZ3A5CNFSM5MEDWCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHR3ZUJA.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/3424/1014471204</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/3424#issuecomment-1014471204",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3424#issuecomment-1014471204",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>