Limit on Q&A/challenge response questions
Monday, June 1, 2020 at 01:12pmIs there a limit on the number of questions that can be presented for validation. The code examples use two Q&As and the UI has a limit of two. Does the API have the same limit?
Reply to: Limit on Q&A/challenge response questions
Monday, June 1, 2020 at 01:52pmHi rcoombe,
You can have more than two Q&A, with either API or SDK.
For SDK, .secondQuestion() function adds the challenge to the list, not just literally the second question:
.withSigner(newSignerWithEmail("[email protected]")
.withFirstName("First")
.withLastName("Signer")
.challengedWithQuestions(ChallengeBuilder.firstQuestion("What's your favorite sport?")
.answer("soccer")
.secondQuestion("What music instrument do you play?")
.answer("drums")
.secondQuestion("What city you lives?")
.answer("Montreal")
)
)
For number limitation, I didn't find it documented somewhere officially, but always suggested to keep it within the reasonable scope.
Duo
Reply to: Limit on Q&A/challenge response questions
Monday, June 1, 2020 at 02:34pmThanks for the quick response!
Reply to: Hi rcoombe, You can have…
Tuesday, October 13, 2020 at 09:42amIt seems that the SDK only give a "required" validation for the first two questions. In your example, "What's your favorite sport" and "What instrument do you play" would require answers and "What city you lives" would not require an answer. Is there a workaround for this?
Reply to: Limit on Q&A/challenge response questions
Tuesday, October 13, 2020 at 12:41pmHi Esteban,
Lance has opened a support ticket for this issue, which has been discussed in another post thread.
I think it's more of a UI defect and now this has been resolved at New Signer Experience, with the latest guest login page:
Duo