if self.source_type == self.DART and self.o_auth_client.grant_type != OAuthClient.AUTH_CODE:
            raise ValidationError({'o_auth_client': _('DART content source needs Auth client with grant type')})