<p></p>
<p>Totally agree, it's a lot simpler, and boils down to a single sql statement: <a href="https://github.com/mmd-osm/openstreetmap-cgimap/blob/feature/oauth2/src/backend/apidb/oauth_store.cpp#L214-L222">https://github.com/mmd-osm/openstreetmap-cgimap/blob/feature/oauth2/src/backend/apidb/oauth_store.cpp#L214-L222</a></p>
<p>I already included token expiry, as this might come up as a requirement later on. Once I have completed remaining bits on unit test coverage, we can deploy this branch to the dev instance for testing.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-820243762">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIQYZO7Z7XEFPT5K5TTI2R6ZANCNFSM4234LSSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLQADEROSQF5KQRTILTI2R6ZA5CNFSM4234LSS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGDR62MQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-820243762",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-820243762",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>