When enrolling an Okta Verify Authenticator, there are multiple factor options for enrollment.
From the AWAITING_AUTHENTICATOR_ENROLLMENT_SELECTION state the client would make a call similar to:
AuthenticationResponse response = idxAuthenticationWrapper.selectFactor(proceedContext, selectedFactor);
// for example the `selectedFactor` is an email factor instance
This puts the client into the AWAITING_CHANNEL_DATA_ENROLLMENT state. The response from Okta returns enough context that the client should know what is going on, however, this context is NOT added to the AuthenticationResponse returned from the IdxAuthenticationWrapper.
The current workaround is to add the previously selected factor into some sort of state management (like an HTTP Session).
The ContextualData (or something similar) should contain the type of information needed to continue the flow.