How can I login the user inside the widget once I have the access token?

  • 1
  • Question
  • Updated 2 weeks ago
Hi,
I am new in this segment and looking for your help to implement login flow in which user will login only once and then our web server will catch the access_token. Now I want to know that do we have a method in which I can login the user in the widget using the saved access token. Please help 
Photo of aditi test

aditi test

  • 110 Points 100 badge 2x thumb

Posted 2 weeks ago

  • 1
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,158 Points 1k badge 2x thumb
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.
Photo of aditi test

aditi test

  • 110 Points 100 badge 2x thumb
Hi Embbnux,
thanks for your reply, I have tried it, but it's giving me error "No Auth Code". I tried a lot but, I am not able to find a solution for the same. 
(Edited)
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,158 Points 1k badge 2x thumb
Hi, @aditi test Can you show how you implement this and screenshot or other details. It seems a bug in In-page login mode.  
(Edited)