<p>Hello,</p>

<p>I'm a developer for the <a href="https://wiki.openstreetmap.org/wiki/OSM_Contributor">OSM Contributor</a> App.</p>

<p>I try to log the users to OpenStreetMap using OpenID, and more particulary using their google account. I've already done the half of the work using this request: </p>

<pre><code>https://accounts.google.com/o/oauth2/v2/auth?
response_type=code&
client_id=651529786092-6c5ahcu0tpp95emiec8uibg11asmk34t.apps.googleusercontent.com&
redirect_uri=https://www.openstreetmap.org/auth/google/callback&
scope=openid email&
login_hint=tommy.buonomo@gmail.com&
state=f6fb251c967d4563abee68751ea973c44f5a7d5672fce452
</code></pre>

<p>After that, i'm logged and I get the <code>OSM.oauth_token</code>, <br>
<code>OSM.oauth_token_secret</code>, <br>
<code>OSM.oauth_consumer_key</code>, <br>
<code>OSM.oauth_consumer_secret</code>,<br>
 but I can't ask for the access token without the <code>oauth_verifier</code> parameter, which is not in the callback response.</p>

<p>Therefore, there is no API currently for this kind of authentification.</p>

<p>Thank you,</p>

<p>Tommy Buonomo.</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/issues/1256">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLQCpVYEXFOpm4qVhgarBNR-aXXo4ks5qZIJ5gaJpZM4JT8Sr">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLUFgPWwWerDkppuR_R69E0HEkLzgks5qZIJ5gaJpZM4JT8Sr.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1256"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>