def METHOD_NAME(self):
    referer = self.request.META.get('HTTP_REFERER')
    redirect_url = self.request.GET.get("redirect_url")
    success_url = reverse('authentication:feishu-qr-bind')
    success_url += '?' + urlencode({
        'redirect_url': redirect_url or referer
    })
    return success_url