Allow other ringcentral accounts to authorize my app to fetch call logs

  • 1
  • Question
  • Updated 2 months ago
Hello,

I have a requirement to allow users to authorize my app to access their call logs. Is there any way I can do this or I have to ask for their APP ID and APP SECRET in a form?

Thanks
Photo of Konstantinos Gkiokas

Posted 2 months ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 3,192 Points 3k badge 2x thumb
Hi Konstantinos,

Simply make your app "Public" and choose 3-legged authorization flow for your app so anyone can login with their own credentials.

Please read this getting started doc for details information
https://developer.ringcentral.com/library/getting-started.html#CreateYourApp
Also check out this tutorial for implementation of OAuth in JavaScript
https://github.com/ringcentral-tutorials/oauth-nodejs-demo

+ Phong
Thanks. That's what I had done. 

Actually the problem was that when I tried with another dev account I got the message that this user could not be found. After creating an app in the new Sandbox account it said something along the lines that a new sandbox account was created and it found my user.

Additionally, it kept saying this user was not verified and I had to manually reset my password for the user to be considered verified.
Photo of Phong Vu

Phong Vu, Devangelist

  • 3,042 Points 3k badge 2x thumb
Without seeing how to code to access the call log I can't say anything. Did you hardcode the account Id or the extension Id somehow?

When you add a new user to an account, that user (emaill address) will receive a verification email to activate. Did you do that?