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

Twilio phone error #871

Closed
natt-tester opened this Issue Aug 23, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@natt-tester

natt-tester commented Aug 23, 2018

I've followed the guide in the docs and checked if my registered phone number was SMS enabled. After a positive verification of my account (2 texts from Twilio), I checked LDAP for phoneNumberVerified (true) and telephoneNumber (DIFFERENT NUMBER THAN MINE, something like XXXX-XX).

At this point the login was impossible for the first step -- my admin account.

I changed the phone number in LDAP to the registered one and restarted the Gluu Server.
The login is still impossible.

blocked_login

ldap_entry

Please look at the logs and advise what I can try to enable Twilio. Is this our issue?
oxauth_script.log

@natt-tester natt-tester added this to the 3.1.4 milestone Aug 23, 2018

@yurem

This comment has been minimized.

Contributor

yurem commented Aug 24, 2018

@mzico can you help @natt-tester with this. I suspect that something wrong with configuration or our docs

@syntrydy syntrydy self-assigned this Aug 30, 2018

@syntrydy

This comment has been minimized.

Contributor

syntrydy commented Aug 30, 2018

@natt-tester the error is this:

com.twilio.exception.ApiException: The From phone number +61450899602 is not a valid, SMS-capable inbound phone number or short code for your account.

So that is misconfiguration on your end.

@syntrydy

This comment has been minimized.

Contributor

syntrydy commented Aug 30, 2018

You need two phone numbers:

  1. One from twilio
  2. Another is the user phone number(user registered in Gluu server)

It works well.

@syntrydy syntrydy closed this Aug 30, 2018

@natt-tester

This comment has been minimized.

natt-tester commented Sep 12, 2018

I agree, it works.

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