def on_success(self, request, identity_url, openid_response):
        response = self.redirect_if_valid_next(request)
        if not response:
            response = self.show_message(
                request, 'Logged in', "You logged in as %s" % identity_url
            )
        return response
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/consumer.py/Consumer.on_success/original