I was wondering if there is some way to wrap a signup in a transaction, as it were. For example, our signup process takes 2 steps. When a user clicks submit on our signup form we…
- We send a request to Auth0 to sign the user up
- We take the Auth0 id from the previous step and send a request to our API to do other sign up stuff.
If step 2 fails, I don’t want the user to be created in our Auth0 database. So, how I can I rollback a signup if part of the sign up process fails? Is deleting the user the only option?