Authorize URI for Different Users, Same Browser
Tags: sdk
Jul 22, 2016 at 12:29pm • 6 replies • 0 likes
vanillasoft-.
I have integrated the RingCentral 3-legged OAuth flow in my application, but I am facing a problem. I am using the Official C# SDK.
1. UserA is asked to enter his credentials in a RingCentral branded pop-up window.
2. UserA is asked to Authorize the application.
3. UserA is authenticated.
4. When user logs out of my application, I call Platform.Logout().
5. UserB logs into my application, and initiate the Authorization flow, instead of going to step1 above, my user is taken to step2.
If I realize step 5 using a different browser, the user goes to step1 as expected.
How can I "reset" that RingCentral authorization window, so it always ask for login/username ??
Thank you.
6 Answers
Shawn, there are the following options to solve this I assume.
- To have an API which forces logout if there is an authenticated session so that next oauth/authorize call will show credentials prompt
- To have a parameter in oauth/authorize call to force it showing credentials prompt regardless of authenticated session presence
- To have UI option to confirm or logout current user as a part of regular oauth/authorize flow
1
Is there any update on this? It doesn't look like it's possible to clear cookies for a different domain as they said. BTW, this is the same issue as this: RingCentral 3-Legged OAuth Does Not Prompt For Login Every Time -- and there's no solution there yet either
0
You can try to delete browser cookies for *.
ringcentral.com. It should help.
Can you do it programmatically after you call Logout?
Anton
Can you do it programmatically after you call Logout?
Anton
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