<p></p>
<blockquote>
<p>OAuth2 models don't have any equivalent to that. I mean we could add it but it means deviating a bit from the upstream defaults and I wasn't really sure that anybody used it.</p>
</blockquote>
<p>What I really had in mind was something like:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/5842757/118108356-30efcc00-b3e0-11eb-8afd-6a56a9bdfd83.png"><img src="https://user-images.githubusercontent.com/5842757/118108356-30efcc00-b3e0-11eb-8afd-6a56a9bdfd83.png" alt="oa2" style="max-width:100%;"></a></p>
<p>app/views/oauth2_authorized_applications/_application.html.erb:</p>
<div class="highlight highlight-text-html-erb"><pre> <span class="pl-kos"><</span><span class="pl-ent">td</span> <span class="pl-c1">class</span>="<span class="pl-s">align-middle</span>"<span class="pl-kos">></span>
<span class="pl-k"><%=</span> <span class="pl-v">User</span><span class="pl-kos">.</span><span class="pl-en">find_by</span><span class="pl-kos">(</span><span class="pl-pds">:id</span> <span class="pl-c1">=></span> <span class="pl-en">application</span><span class="pl-kos">.</span><span class="pl-en">owner_id</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">display_name</span> <span class="pl-k">%></span>
<span class="pl-kos"></</span><span class="pl-ent">td</span><span class="pl-kos">></span></pre></div>
<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-840446512">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIVBBSEK2XAG3QPUMLTNONRFANCNFSM4234LSSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLIBSXZXOVE7TQEQ6F3TNONRFA5CNFSM4234LSS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGIMDEMA.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-840446512",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#issuecomment-840446512",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>