title: What's the correct configuration line to get devise, omniauth and google working?
body: <p>I've looked through the documentation and I can't figure out the specific line I'm meant to use to get devise + omniauth + google working together nicely.</p>
  
  <p>This strategy file suggests there's an easy way of doing it but I can't find an example.</p>
  
  <p><a href="https://github.com/intridea/omniauth/blob/master/oa-oauth/lib/omniauth/strategies/google.rb" rel="nofollow">https://github.com/intridea/omniauth/blob/master/oa-oauth/lib/omniauth/strategies/google.rb</a></p>
  
  <p>At the moment I'm using the line below in the devise.rb initializer file.</p>
  
  <pre><code>config.omniauth :google, GOOGLE_APP_ID, GOOGLE_SECRET_KEY
  </code></pre>
  
  <p>but I'm pretty sure it's incomplete.</p>
  
  <p>Also, I'm struggling to find where I should sign up for the google app id and secret key.</p>
  
  <p>Thanks in advance.
  Graeme</p>