Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When enrolling in an Authenticator with multiple factors AWAITING_CHANNEL_DATA_ENROLLMENT doesn't not contain context #335

Open
bdemers opened this issue Apr 27, 2022 · 1 comment
Assignees

Comments

@bdemers
Copy link
Contributor

bdemers commented Apr 27, 2022

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.

@arvindkrishnakumar-okta
Copy link
Contributor

Internal Ref: OKTA-494726

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants