The scripts implement a registration process in three steps:
- Create a user in the user store and tag it as suspended. A suspended user cannot log-in to an application that delegates Identity management to Apstrata.
- Send a verification e-mail to the user who has registered, with a link he needs to click on in order to validate his registration
- Un-suspend the user once the verification is done (the user is now able to use the application) and send a confirmation email.