I looked through the documentation and I cannot figure out the specific line that I have to use in order to get a good + omniauth + google development.
This strategy file offers an easy way to do this, but I cannot find an example.
https://github.com/intridea/omniauth/blob/master/oa-oauth/lib/omniauth/strategies/google.rb
I am currently using the line below in the devise.rb initialization file.
config.omniauth :google, GOOGLE_APP_ID, GOOGLE_SECRET_KEY
but I am sure that it is incomplete.
Also, I'm struggling to find where I have to register for the google app id and secret key.
Thanks in advance. Graeme
source
share