question

joseph-raja5003 avatar image
joseph-raja5003 asked Tyler Liu answered

Not able to authenticate, Password Mismatch Error coming

HiI am developing the Api to integrate ringcentral with my php application. But i am unable to authenticate it.


The 2 legged authentication php api you provided returning the "unauthorized_client". And i am not able to make it work. As per the suggestion related to the issue i switched to using 3 legged authentication. And the 3 legged authentication is processing up to getting username password. When i am entering the phone number and password which i used to login to my account It shows the error message "Phone number and password do not match. Please try again. Click here for more help or reset your password." I know the password is not wrong. But i can not get over this issue. Can you guide on me on this.

getting started
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered
If you are in sandbox environment please make sure you can login  https://service.devtest.ringcentral.com/#/number  (for production it's https://service.ringcentral.com/)

If you cannot login then it's you account's issue and it has nothing to do with PHP or OAuth flow.
If you can login and still cannot get over it, please reply .
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

joseph-raja5003 avatar image
joseph-raja5003 answered
Thanks for the reply Tyler.

I am in sanbox environment. I tried logging in to  https://service.devtest.ringcentral.com/#/number  url. Which displays the similar error i mentioned in this thread's question. But i am able to login  https://developer.ringcentral.com/  with that number and password.

What changes i should do in my account to make it work?

Thanks
Jose

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered

Login developer.ringcentral.com, find your app, under the credentials tab, find the User Account Credentials which you can use to do testing.

If you still cannot make it work, please send an email to the developer support team or submit a support ticket.


1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

joseph-raja5003 avatar image
joseph-raja5003 answered

Thank you Tyler,

I am able to authorize now. But I am wondering if this 3 legged authentication will only work for only one main user as given in under the credentials?

I thought to use it for all the agents users. So that every API operation can be done under their respective credentials.

Or they will have to create the developer account to sync with the API? I highly doubt it because If they are going to do that then they can't sync with this Application.

Anyway I will mail this to the developer support team anyway regarding this issue referencing this thread.


Thanks for the support Tyler

-- Jose

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered
If agent users cannot login service.devtest.ringcentral.com then it's an account issue instead of a programming issue. 3 legged authentication won't work unless the user account can login.

By the way, there are two types of apps: public apps and private apps. I am not sure a public app could solve your issue or not. You can have a try:

Private apps will be available for the users belonging to your RingCentral account only. Public apps will be available for users from other RingCentral accounts as well.
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys