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

there is no Alternative option in Email code Form Execution. #27

Open
Chatim94 opened this issue Jul 7, 2021 · 1 comment
Open

there is no Alternative option in Email code Form Execution. #27

Chatim94 opened this issue Jul 7, 2021 · 1 comment

Comments

@Chatim94
Copy link

Chatim94 commented Jul 7, 2021

Hello,
I'm working on a use case where is let the user choose between OTP based sms and based email.
I created a flow containing three execution (username/pwd + sms authentication + email code form).

is there a way to add alternative option on requirement for email code form execution, (see screenshot below).

image

Thanks in advance.

@tomrutsaert
Copy link

You could override "Email Code Form" and add "ALTERNATIVE" as a possible requirement, but that still would not necessarily mean that the logic of the authenticator will react as expected....
For example: the logic flow only ends with context.success(), resetFlow() or challenge and never with context.attempted() which you would expect with an ALTERNATIVE authenticator

Side note: You can not combine REQUIRED and ALTERNATIVE authenticators on the same level. You need to make a subflow with the ALTERNATIVE authenticators.

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

No branches or pull requests

2 participants