def METHOD_NAME(self):
    """
    Clears the SSO cookie set at authentication and redirects the User
    to the end_session endpoint provided by the provider configuration
    """
    end_session_endpoint = self.provider_configuration.get("end_session_endpoint")
    target_url_after_logout = self.provider_configuration.get(
        "target_url_after_logout"
    )
    response = HttpResponseRedirect(
        end_session_endpoint
        + "?post_logout_redirect_uri="
        + target_url_after_logout
    )
    response.delete_cookie("SSO")
    return response