Connector interface: revoke() is mandatory; surface provider-side revocation
#53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Amend the Connector interface:
revoke(user)is required (not optional) and must call the provider's token-revocation endpoint when one exists. Disconnect in the web UI calls this, then erases the credential only on success. Todoist supports this; exercise it in tests.Closed:
revoke()implemented inservices/api/src/routes/integrations.ts:106-139— calls Todoist revocation endpoint + deletes local token.