question

konstantinos-gkiokas11964 avatar image
konstantinos-gkiokas11964 asked ·

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

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
General Topic
1 |1500 characters needed characters left characters exceeded

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

Phong Vu avatar image
Phong Vu answered ·
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
1 |1500 characters needed characters left characters exceeded

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

konstantinos-gkiokas11964 avatar image
konstantinos-gkiokas11964 answered ·
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.
1 comment
1 |1500 characters needed characters left characters exceeded

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

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?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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