Add the
        :param user:
        :return:

def _register_oauth_session_user(self, user):
        """
        Add the
        :param user:
        :return:
        """
        oauth_session = get_oauth_session()
        if oauth_session:
            if "provider" in oauth_session and "user_id" in oauth_session:
                user.add_federated_login(provider=oauth_session.get("provider"),
                                      federated_id=oauth_session.get("user_id"))
        delete_oauth_session()