def clear_auth(self):
        self.external_account = None
        self.user_settings = None
        self.save()
Disconnect the node settings from the user settings.
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/base/__init__.py/AddonOAuthNodeSettingsBase.clear_auth