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

Enroll OktaVerify with SMS channel name does not match expected value #337

Open
bdemers opened this issue Apr 27, 2022 · 1 comment
Open
Assignees

Comments

@bdemers
Copy link
Contributor

bdemers commented Apr 27, 2022

The IDXAuthenticationWrapper verifyAuthenticator() does not support the sms channel name, It assumes the channel name is phoneNumber instead.

if("phoneNumber".equals(verifyChannelDataOptions.getChannelName())) {
builder.withPhoneNumber(verifyChannelDataOptions.getValue());

I'm not sure there are places where the channelName might be phoneNumber if so, the above block should look something like:

if("phoneNumber".equals(verifyChannelDataOptions.getChannelName())
    || "sms".equals(verifyChannelDataOptions.getChannelName()) {
@arvindkrishnakumar-okta
Copy link
Contributor

Internal Ref: OKTA-494731

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

No branches or pull requests

2 participants