def METHOD_NAME(self, account_linking_config, internal_response, context):
    uuid = "uuid"
    data = {
        "idp": internal_response.auth_info.issuer,
        "id": internal_response.subject_id,
        "redirect_endpoint": self.account_linking.base_url + "/account_linking/handle_account_linking"
    }
    key = RSAKey(key=rsa_load(account_linking_config["sign_key"]), use="sig", alg="RS256")
    jws = JWS(json.dumps(data), alg=key.alg).sign_compact([key])
    url = "%s/get_id" % account_linking_config["api_url"]
    params = {"jwt": jws}
    responses.add(
        responses.GET,
        url=url,
        body=uuid,
        match=[matchers.query_param_matcher(params)],
        content_type="text/html",
        status=200,
    )
    self.account_linking.process(context, internal_response)
    assert internal_response.subject_id == uuid