Skip to main content

3 replies

PhongVu
Community Manager
Community Manager
June 3, 2019

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.

ByrneReese
Community Manager
Product Manager
June 4, 2019

@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.

The First Step
July 6, 2019

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