def _on_auth_redirect(self):
        """Redirects after successful authentication using third party
        services.
        """
        if '_continue' in self.session:
            url = self.session.pop('_continue')
        else:
            url = '/'

        if not self.auth.user:
            url = self.auth.signup_url()

        return self.redirect(url)
dataset/ETHPy150Open moraes/tipfy/examples/auth/app/handlers.py/BaseHandler._on_auth_redirect/original