How can I login to ringcentral embeddable widget using access token?
How can I login to ringcentral embeddable widget using access token?
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.
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
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.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.