title: Authenticate Symfony2 REST API with Google Account
body: <p>I'm working with Symfony2 and FOSOauthServerBundle in a REST API. I would wish that some user could log in by a client app using their Google Account, for instance.</p>
  
  <p>From my REST server, by web, I can log in with my Google Account (using HWIOauthBundle), but I need to send to the client app an access_token (like FOSOauthServerBundle does).</p>
  
  <p>I'm interested on persist the access_token that Google send to me in my data base and at the same time, send to the client app the json message {'access_token': 'XMekfmns.... } with Google's (and now my REST API too) access_token.</p>
  
  <p>I don't know if my approach is right. Any ideas?</p>
  
  <p>(sorry for my english ;-) )</p>
  
  <p>Thank you very much</p>