def get_trust_root(self, request, trust_root=None):
        trust_root = trust_root or self.trust_root or \
            request.build_absolute_uri()
        return self.ensure_absolute_url(
            request, trust_root
        )
Derives an appropriate trust_root from the request
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/consumer.py/Consumer.get_trust_root