adding ChallengedWithQuestions is not challenging with questions on the sandbox
Friday, March 8, 2019 at 07:22amI am playing around with asking signers to answer questions before signing the application to add some fraud mitigation. I added the following:
var packageBuilder = PackageBuilder.NewPackageNamed(signingPackage.Name)
.WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings()
.WithHandOverLinkHref(signingPackage.HandOverLinkHref)
.WithHandOverLinkText(signingPackage.HandOverLinkText)
.WithDecline()
.WithDeclineOther()
.WithMaxAuthAttempts(5)
.WithoutOptOut()
.HideOwnerInPersonDropDown()
.WithoutDialogOnComplete()
.WithoutCaptureText()
.WithoutLanguageDropDown()
.WithCeremonyLayoutSettings(CeremonyLayoutSettingsBuilder.NewCeremonyLayoutSettings()
.WithoutGlobalDownloadButton()
.WithLogoImageSource(signingPackage.LogoUrl)
.WithoutSessionBar()
.WithoutGlobalNavigation()
.WithoutBreadCrumbs()))
.WithLanguage(Thread.CurrentThread.CurrentUICulture)
.WithAutomaticCompletion();
foreach (var signer in signingPackage.Signers)
{
packageBuilder.WithSigner(SignerBuilder.NewSignerWithEmail(signer.Email)
.ChallengedWithQuestions(ChallengeBuilder.FirstQuestion("Type in 12345").Answer("12345").SecondQuestion("test").Answer("test"))
.WithFirstName(signer.FirstName)
.WithLastName(signer.LastName)
.WithTitle(signer.DisplayTitle)
.SigningOrder(signer.SigningOrder)
.WithCustomId(signer.CustomId));
}
When I generate the signing package, there are no challenge questions presented, it just goes straight in. Is there something I am missing? do I need to set a flag at the package level, or change an account setting or something. I am comparing my code to the examples in the documentation, and I don't see anything that jumps out at me.
Reply to: adding ChallengedWithQuestions is not challenging with questions on the sandbox
Friday, March 8, 2019 at 07:44amReply to: adding ChallengedWithQuestions is not challenging with questions on the sandbox
Friday, March 8, 2019 at 08:03amReply to: adding ChallengedWithQuestions is not challenging with questions on the sandbox
Wednesday, May 19, 2021 at 10:49amHas anything changed recently in the sandbox regarding challenges? Our code that worked a month ago now does not. Famous last words..."nothing has changed at our end", but challenges no longer appear.
We're using .Net Sdk. Package looks good and has challenge in there. We tried both SMS and Q&A. We are using signing Url with loginToken, not session token. Did not see anything is May release notes that sounds like a change in this area.
Any ideas?
Likely we'll find a dependency changed in our codebase...but we've already spend a lot of time looking, and it would be comforting to know the SDK/Platform is not the issue.
Thanks in advance for your help.
Reply to: Has anything changed…
Wednesday, May 19, 2021 at 11:11amHi Chris,
Can you create a testing package and share the package ID and the signing URL to [email protected] so that I can take a closer look at your package and account settings?
Duo
Reply to: Hi Chris, Can you create…
Wednesday, May 19, 2021 at 11:25amThanks. Sent.
Reply to: adding ChallengedWithQuestions is not challenging with questions on the sandbox
Wednesday, May 19, 2021 at 12:29pmThanks Duo...for the benefit of the group, the issue was our package had a single signer. When email of that signer matches the sender in account setup, the challenges are by-passed.
In our case, we had changed the package and account settings for test purposes, not knowing of this behavior.
Thanks again Duo for your super-fast assistance. :-).
Reply to: Thanks Duo...for the benefit…
Wednesday, May 19, 2021 at 04:07pmIt's my pleasure to help and thanks for sharing with the community!