Not able to authenticate, Password Mismatch Error coming

  • 1
  • Problem
  • Updated 1 year ago
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.
Photo of Joseph Raja

Joseph Raja

  • 90 Points 75 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,288 Points 5k badge 2x thumb
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 .
Photo of Joseph Raja

Joseph Raja

  • 90 Points 75 badge 2x thumb
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
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,288 Points 5k badge 2x thumb
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 devsupport@ringcentral.com

Photo of Joseph Raja

Joseph Raja

  • 90 Points 75 badge 2x thumb
Thank you Tyler,

I am able to authorize now. But i am wondering is 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 operations 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 devsupport@ringcentral.com anyway regarding this issue referencing this thread.

Thanks for the support Tyler
-- Jose
Photo of Tyler Long

Tyler Long, Official Rep

  • 6,288 Points 5k badge 2x thumb
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.