Hello,
This is probably a unique requirement that I am trying to fit in one or more bounded contexts.
1. New user signs up.
2. This 'sign-up' process interacts with the IDP(identity provider). This is a tech. requirement and we know how to handle this.
3. But before the 'sign-up' process completes we need to connect to a few other services.
4. Those services provide data and accept data before the 'sign-up' finishes.The data
fetched from these services is used to complete a few stages of 'sign-up'
How does this community generally view this staged approach ? I think it should be driven by events as these events can enable the user to pick up if the flow is broken.
As far as bounded contexts are concerned I am not sure how to design this.
Even though this sign-up process seems to be synchronous there are flows in between
that use API keys and make requests. So it starts as a synchronous flow but encapsulates a few asynchronous call in the middle.
Thanks,
Mohan