Hi, @
aditi test you can try In-page login mode
https://github.com/ringcentral/ringcentral-embeddable/blob/master/docs/sso-login-mode.md When user had logged with RingCentral OAuth page, it would auto logged in the widget.
Hi,
I also tried to implement In-page login mode. I was able to get access_token(and saved it in DB), but I don't understand what should I pass instead of "your_app_key". I tried to pass there access_token, clientId and etc, but I always got "error" : "invalid_client"
https://ringcentral.github.io/ringcentral-embeddable/adapter.js?authMode=sso&appKey=your_app_key
Could you please explain what should I pass into appKey?
Hi, @Oleg In in-page login, we are reusing alive session in RingCentral login page. If user login in somewhere of current browser, when user goto widget with in-page login, widget will redirect to RingCentral login page. If session is still alive, RingCentral login page will redirect back with access token. We require app key for using same alive session. You don't need to pass access token to widget.
For error "invalid client", can you check your appKey. It is caused by wrong appKey. Is you app id in production environment. If your app id in on sandbox, you need to pass appServer "https://platform.devtest.ringcentral.com"
@Embbnux Ji redirect page is not responsive ............can you provide another link