https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

03/16/2021, 1:43 PM
hey @User . We do not have a delete user functionality at the moment. We will be working on it soon. As a temp hack, you could create your own table called "deleted_users" and store userIDs in that. So when deleting a user, you should insert their userId in that table, and revoke all their sessions. Furthermore, during login, you should check if a user has been deleted, if yes, then do not allow them to login. This would require you to disable the default login API and create your own manually (using our code), but add one extra step to it. I will be happy to guide you through this (is simple to do). A question: What made you want to use supertokens?
2 Views