def unauthorized_token_request(self):

        params = self.request_token_extra_arguments()
        params.update(self.get_scope_argument())
        key, secret = self.get_key_and_secret()
        # decoding='utf-8' produces errors with python-requests on Python3
        # since the final URL will be of type bytes
        decoding = None if six.PY3 else 'utf-8'
        state = self.get_or_create_state()
        auth = OAuth1(
            key,
            secret,
            callback_uri=self.get_redirect_uri(state),
            decoding=decoding,
            signature_method=SIGNATURE_HMAC,
            signature_type=SIGNATURE_TYPE_QUERY
        )
        url = self.REQUEST_TOKEN_URL + '?' + urlencode(params)
        url, _, _ = auth.client.sign(url)
        return url
A new L{Server}.
dataset/ETHPy150Open omab/python-social-auth/social/backends/khanacademy.py/BrowserBasedOAuth1.unauthorized_token_request--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/Server.__init__