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
How can I login to ringcentral embeddable widget using access token?
Tags: embeddable
Dec 17, 2022 at 8:36pm   •   3 replies  •  0 likes
MR

How can I login to ringcentral embeddable widget using access token?

3 Answers
answered on Dec 18, 2022 at 2:37pm  

In our application we do get access token using /restapi/oauth/authorize and store access token in our DB for invoking RingCentral APIs throughout our application. Therefore, We are trying to see if we can pass access to token to Ringcentral embeddable widget so we can avoid second login by our users. It seems there is an option through which we can send authorizationCode to ringcentral-embeddable/adapter.js but it is not working.

Please refer below one and let us know if our application can automictically login to embeddable widget using access token that we have in our DB

https://github.com/ringcentral/ringcentral-embeddable/blob/master/docs/customize-authorization.md


 0
answered on Dec 18, 2022 at 12:27pm  

I don't understand what you meant by saying using "access token". How do you get the access token for using it?

Anyway, the RingCentral embeddable is a public app and the app authentication is authorization code flow. You can only login with a user name and password.


 0
answered on Dec 18, 2022 at 6:33pm  

HI @Mangarao Bezawada You can only send auth code (not be used previously) to the embeddable. If you have exchanged code in your app, you can't pass the code to the embeddable.

If your app is server side app, we recommend you use RingCentral account (company) level API in server side. For example: https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog
So for setup server side app, only RingCentral admin user need to authorize and setup in your app once. With account level api, you can get all the account's users's data and events in the server side.

And for Embeddable, it uses extension (user) level API. Everyone who uses it need to login.


 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