# File lib/omniauth/strategies/google_hybrid.rb, line 25
      def auth_hash
        # Based on https://gist.github.com/569650 by nov
        oauth_response = ::OpenID::OAuth::Response.from_success_response(@openid_response)

        consumer = ::OAuth::Consumer.new(
          @options[:consumer_key],
          @options[:consumer_secret],
          :site => 'https://www.google.com',
          :access_token_path  => '/accounts/OAuthGetAccessToken'
        )
        request_token = ::OAuth::RequestToken.new(
          consumer,
          oauth_response.request_token,
          "" # OAuth request token secret is also blank in OpenID/OAuth Hybrid
        )
        @access_token = request_token.get_access_token
        
        OmniAuth::Utils.deep_merge(super(), {
          'uid' => @openid_response.display_identifier,
          'user_info' => user_info(@openid_response),
          'credentials' => {
            'scope' => @options[:scope], 
            'token' => @access_token.token,
            'secret' => @access_token.secret
          }
        })
      end