You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Okta Verify Enrollment when user try to enroll with email/phone and clicks on "send again" for email/phone using ResendCodeAsync(); method in SDK, is sending link again but after that it is throwing the following exception.
Exception :{"Unexpected remediation step: Expected 'enroll-authenticator' but received ['enroll-poll,select-enrollment-channel,select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Expecting a valid response instead of exception after link is sent so that it can be proceeded to enrollment smoothly. Now enrollment is abruptly stopped due to exception.
What is the actual behavior?
Getting an exception instead of valid response after sms/link is sent as expected to users phone or email when send again is clicked while enrolling for Okta verify using phone/email instead of scanning QR. This is resulting in failure of Okta verify factor enrollment.
Reproduction Steps?
Try enrolling Okta verify using PHONE/EMAIL instead of QR code scanning by clicking on can't scan.
Call EnrollAuthenticatorAsync() with sms or email respectively using below payload.
Payload : var selectChallengeViaText = new EnrollOktaVerifyAuthenticatorOptions
{
Channel = "sms",
PhoneNumber = phoneNumber
};
Link to phone/email will be send successfully.
If user does not respond and enroll using link within 30 secs, send again will be prompted.
Now when send again is clicked by hitting ResendCodeAsync() and no payload.
Link to phone/email will be send again successfully but gets and exception which results in breaking okta verify enrollment process.
Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.8 (latest dotnet sdk) and all lower versions as well
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000
The text was updated successfully, but these errors were encountered:
Describe the bug?
In Okta Verify Enrollment when user try to enroll with email/phone and clicks on "send again" for email/phone using ResendCodeAsync(); method in SDK, is sending link again but after that it is throwing the following exception.
Exception :{"Unexpected remediation step: Expected 'enroll-authenticator' but received ['enroll-poll,select-enrollment-channel,select-authenticator-enroll'].\n Verify that your policies are configured as expected."}
Browser response for same case (idp/idx/challenge/resend endpoint) : https://jsonblob.com/1073183131825356800
What is expected to happen?
Expecting a valid response instead of exception after link is sent so that it can be proceeded to enrollment smoothly. Now enrollment is abruptly stopped due to exception.
What is the actual behavior?
Getting an exception instead of valid response after sms/link is sent as expected to users phone or email when send again is clicked while enrolling for Okta verify using phone/email instead of scanning QR. This is resulting in failure of Okta verify factor enrollment.
Reproduction Steps?
Payload : var selectChallengeViaText = new EnrollOktaVerifyAuthenticatorOptions
{
Channel = "sms",
PhoneNumber = phoneNumber
};
Link to phone/email will be send successfully.
Additional Information?
No response
.NET Version
.NET Core 3.1
SDK Version
Okta.Idx.Sdk 2.2.8 (latest dotnet sdk) and all lower versions as well
OS version
Windows 11 :
BuildNumber Caption OSArchitecture Version
22000 Microsoft Windows 11 Pro 64-bit 10.0.22000
The text was updated successfully, but these errors were encountered: