New version found
You are looking at a previous version of the flow PAL Create User. The latest version of this flow is v1.0.2 →
Architecture diagram
Flow description
-
Auth adapter is called
The auth adapter (API) is called to create a user
POST /users. The endpoint will check and build a AdminCreateUserRequest and send this to Cognito SDK -
AWS Cognito
Cognito will invoke the custom lambda function for PreSignup trigger. This lambda will raise the event
User Signup. -
AWS Stepfunction
The stepfunction UserOnboarding will be triggered by the event. This stepfunction handles the signup process.
-
Verification
If verification is handled by Cognito, the step function will either raise UserCreatedEvent or UserAborted, without any additional handling.
If user verification is not handled by Cognito. The caller of CreateUser is required to invoke a verification process in order for the events to be raised.