I’m investigating if Okta would be a good fit for our company. One of the requirements is to deactivate a user on registration. We need this functionality because in a B2B e-commerce flow the business-user will first need to follow some internal flows before activating the user.
In the docs (https://developer.okta.com/docs/reference/registration-hook/) it says you can use
com.okta.action.update to ALLOW or DENY the registration. I want to ALLOW but at the same time deactivate the user.
Can this be done with the registration inline hook? Or can this be done any other way?