rcoombe | Posts: 8

Limit on Q&A/challenge response questions

0 votes

Is 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?


Duo_Liang | Posts: 3776

Reply to: Limit on Q&A/challenge response questions

1 votes

Hi 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

 


rcoombe | Posts: 8

Reply to: Limit on Q&A/challenge response questions

0 votes

Thanks for the quick response!


praxedis | Posts: 45

Reply to:

0 votes

It 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?


Duo_Liang | Posts: 3776

Reply to: Limit on Q&A/challenge response questions

0 votes

Hi 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:
10-13-1

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off