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
single sign on for api access
Tags: sdk
May 31, 2017 at 1:48pm   •   2 replies  •  0 likes
ed-smith

My company manages access to the developer account via single sign on (OKTA). Is it still possible for me to set up a connection to the api? My password is not visible to me, so I'm not sure how to pass in my user credentials...


I'm attempting to use the python SDK.


Thanks for your help

2 Answers
answered on Jun 1, 2017 at 9:12pm  
Thank you very much, this was incredibly helpful.

 1
answered on May 31, 2017 at 6:15pm  
You can use the Authorization Code Flow which you don't need to pass in your password. 

Read the documentation and write code. You can reference code here: 

Step 1: build an authorize uri: https://github.com/tylerlong/ringcentral-python/blob/master/ringcentral_client/rest_client.py#L73-L8...
Step 2: redirect user to authorized uri in browser
Step 3: when user is redirected back, you will be able to get an auth_code, invoke this: https://github.com/tylerlong/ringcentral-python/blob/master/ringcentral_client/rest_client.py#L35-L4...

Please note that, code sample above is from an UNOFFICIAL python SDK. The official one doesn't have any helper methods for authorization code flow.

Here is a tutorial in Node for your reference: https://ringcentral-tutorials.github.io/authorization-code-flow-nodejs-express-demo/

 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