Register/Login from android using oauth2 and google API
<p>Working on a native app that requires the user to register to our server.
I would like the user to be able to use oauth2 with google contact api to login.
Not knowing exactly how this would work but idea is:</p>

<p>get default google account and get a token. <br>
send relevant data to our server.(token/userinfo) <br>
verify google account on server and create a one time password <br>
send password to phone <br>
let user register to our service with google account name and one time password <br></p>

<p>I am not really sure how to do this and what type of token / authorization code I need to do this. </p>
