# File lib/omniauth/strategies/type_pad.rb, line 17
      def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}, &block)

        # TypePad uses the application ID for one of the OAuth paths.
        app_id = options[:application_id]

        client_options = {
          :site => 'https://www.typepad.com',
          :request_token_path => '/secure/services/oauth/request_token',
          :access_token_path => '/secure/services/oauth/access_token',
          :authorize_path => "/secure/services/api/#{app_id}/oauth-approve",
          :http_method => :get,
          # You *must* use query_string for the token dance.
          :scheme => :query_string
        }

        options.merge! :scheme => :query_string, :http_method => :get

        super(app, :type_pad, consumer_key, consumer_secret, client_options, options)
      end