News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Can you provision an auth token manually without using a callback URL?
Tags: getting started
Jun 2, 2019 at 12:36pm   •   3 replies  •  0 likes
Kenneth Pinos

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!

3 Answers
answered on Jul 6, 2019 at 12:31pm  

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




 0
answered on Jun 4, 2019 at 1:22pm  

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


 0
answered on Jun 3, 2019 at 12:33pm  

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.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us