OmniAuth.config.logger = Rails.logger

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET']
end
OmniAuth.config.logger = Rails.logger

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'],
  {
    prompt: "none",
    image_aspect_ratio: "square",
    image_size: 40
  }
end
Configure Google auth to be less obnoxious.
Configure Google auth to be less obnoxious.

Also asking a properly-sized avatar image with a a square ratio.
