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
Authenticating with RC using server-only (No UI). Company has SSO enabled
Tags: authentication
Dec 16, 2020 at 12:35pm   •   4 replies  •  0 likes
Netsuite Dev

Hello,


I am developing a 100% back-end app (no UI components) in our company's CRM/ERP cloud solution called NetSuite (similar to salesforce if you haven't heard of it).


This script will run 100% in the background on a schedule. Its purpose is to reach out to ring central's API, retrieve text messages that were sent in the last 24 hours, and store those in NetSuite so that an employee can look at a customer's page and see the text message history with that customer (whether or not they were the rep who was texting the customer themeslves).


Our company has the following SSO setting in ring central production:


Allow Users To Log In with SSO or Ring Central Credential


Am I still able to use the password grant type in this case? If not, how can I authenticate with ring central's API? A 3-legged Oauth 2.0 would not make sense because there are no client-facing components to this.


Thanks!

4 Answers
answered on Apr 20, 2021 at 6:43am  

thanks @Netsuite Dev... unfortunately my company's setting is set to SSO only.

So now I need to determine if is possible to use RingCentral API with SSO authentication without user prompting. Using API calls for backend processing.


 0
answered on Apr 19, 2021 at 9:23am  

@Phong Vu Just wanted to thank you for the response, it was really helpful. I'd been told by multiple RC devs via email that it wasn't possible to do this, but it ultimately was possible.


RM - here's where that setting is for me:


In the ring central admin portal, click the 'More' tab, and it's under 'Security and Compliance' -> Single Sign-on


My 'Manage Your Login' says 'Allow users to log in with SSO or RingCentral credential'


 1
answered on Apr 19, 2021 at 7:23am  

where can I see this setting? I would like to know if we have the same setting. We are currently using SSO but I'm trying to build a backend process to download the call logs and I being told that I have to use SSO but within the Ringcentral API OAuth calls I don't have a redirect URI and this is a process with no end users to type in the credentials in a redirect URI page.


 0
answered on Dec 16, 2020 at 7:41pm  

Yes, with that setting, you can have an app with password flow authentication.


 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