Skip to main content

Hi!

With the Zoho API you can set up as a "Self Client" to obtain an authorization token. Is it possible to do this for the RingCentral API?

Here's the Zoho doc (scroll to the bottom): https://www.zoho.com/accounts/protocol/oauth-setup.html

Thanks!

Hi Kenneth,

So far I have not seen a feature like that for RingCentral authorization flow. So my answer would be that it is not possible.


@Kenneth Pinos There is not a user interface in RingCentral yet to provision such a token for re-use. However, one can do this via a script. The app needs to be configured for Password-based authentication. I would then go through the auth flow:

1. Pass in username/password.
2. Get auth token.
3. Exchange auth token for access token.

Now, tokens of this type do not last forever, so they would need to be refreshed from time to time. But in theory, you could take the access token you receive and stash it into a config file somewhere for re-use. If you were using a vault solution of somekind, you could have an offline process refresh the token in storage so that it is always fresh.


For a OAuth security of Authorization code grant_type, there will be a callback url followed to provide the token which later exchanged with access_token.

You cannot do anything other as this is the core concept of Authorization code grant_type

https://developers.ringcentral.com/guide/authentication/auth-code-flow




Reply