def r_oauth_logout(self):
        """
        Route to clear the oauth data from the session
        :return: {"template"}
        """
        session.pop('oauth_user_uri', None)
        session.pop('oauth_user_name', None)
        next = request.args.get('next','')
        if next is not None:
            return redirect(session['next'])
        else:
            return {
                "template": "main::index.html"
            }