djbalinD
Convex Communityโ€ข2y agoโ€ข
1 reply
djbalin

[Convex Auth]: automatic clean-up when deleting user/authAccount?

Hi, does Convex Auth ship with a deleteUser/deleteAuthAccount functionality that automatically cleans up related documents in all the automatically generated tables such as
authSessions
,
authVerificationCodes
,
authRefreshTokens
etc? ๐Ÿ™‚

I couldn't find find it in the implementation, and I suppose you leave this functionality out to allow us full control over it, but maybe a "starter" would be nice that cleans up orphaned documents in the automatically created tables ๐Ÿ™‚
Was this page helpful?