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

Passwordless SMS - Incorrect Error Message #5649

Closed
2 tasks done
tikool17 opened this issue Oct 26, 2023 · 1 comment
Closed
2 tasks done

Passwordless SMS - Incorrect Error Message #5649

tikool17 opened this issue Oct 26, 2023 · 1 comment
Assignees

Comments

@tikool17
Copy link

tikool17 commented Oct 26, 2023

Description

Not a major issue, but when using a phone number for passwordless login, if you enter a number that does not accept text messages it throws an error about a system communication:

"Passwordless Login Confirmation System Communication is not configured for SMS"

We ran into this when someone was trying to log in with their landline home phone number. The person was unable to realize they couldn't login because they weren't using a mobile phone because the error message isn't related to actual the error. I have tested this with other landline numbers on our site as well as another church's site in production. (Also, the system communication the error is referring to is set up correctly and is configured for SMS.)

Actual Behavior

Error message "Passwordless Login Confirmation System Communication is not configured for SMS" is thrown
Screen Shot 2023-10-25 at 7 38 35 PM

Expected Behavior

It would be nice to have a message something like "Unable to send confirmation code. Make sure to use a mobile phone that can receive text messages."

But at least it should throw a generic error suggesting the user try something else and not one that looks like there's a config error on the website.

Steps to Reproduce

  • Log in on a production instance with an active SMS transport. (we use Twilio)
  • Enter in a 10 digit phone number that doesn't accept text messages. (e.g. landlines, 555-555-5555)
  • See error message

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Try to reproduce the problem on a fresh install or on the demo site.

Rock Version

16

Client Culture Setting

en-US

@joshuahenninger joshuahenninger self-assigned this Oct 27, 2023
@sparkdevnetwork-service sparkdevnetwork-service added the Status: In Dev Queue This issue is being worked on, and has someone assigned. label Oct 28, 2023
@joshuahenninger
Copy link
Contributor

@tikool17 Thank you for bringing this issue to our attention. It has been resolved in commit e8366fb5 and will be included in v16.1.

We agree that the generic error message you provided is better suited to help individuals fix the issue. Please note that the SMS communication transport errors are visible in System Settings > Exception List.

@sparkdevnetwork-service sparkdevnetwork-service removed the Status: In Dev Queue This issue is being worked on, and has someone assigned. label Oct 30, 2023
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

3 participants