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?