06-13-2022 12:13 AM
We are trying to implement WebexCC as identity provider.
We are able to use endpoints from documentation page https://developer.webex-cx.com/documentation/authentication for authorizing user and obtain access token, however we found nothing about logout anywhere in the documentation.
For logout we tried https://webexapis.com/v1/logout however it first requires access token in the header, but when it is provided, it responds with HTTP 404. Then we found https://idbroker.webex.com/idb/oauth2/v1/logout which worked for us, however it gets stuck on "You are signed out." page and we would like to be redirected back to our application. We also tried to add parameters to this logout url like "redirect_uri" or "post_logout_redirect_uri" but it does nothing and we also tried parameter "goto=ourApplicationUrl" however it responded with "returnURL is not allowed".
So I would like to ask:
1. is there some documentation for logout endpoint?
2. is there a possibility to do redirect back to our application after logout?
Thanks
Solved! Go to Solution.
07-11-2022 11:55 AM - edited 07-11-2022 11:56 AM
Hi @eleveo1
This is how to achieve it:
URL :
Accepts : POST, GET
POST https://idbroker.webex.com/idb/oauth2/v1/logout?goto=https%3A%2F%2Fwww.eleveo.com%2F
Needs: Bearer Token Authorization Header OR access token in URI params.
goto= Needs: URI encoded website string
Working Example:
https%3A%2F%2Fwww.eleveo.com%2F
https://www.eleveo.com was added as Redirect URI on the App Settings.
Here is the 200 OK after redirect and logout -
08-02-2022 05:28 PM
Attaching additional documentation around this. Have asked the team to add this to the documentation.
08-02-2022 05:28 PM
Attaching additional documentation around this. Have asked the team to add this to the documentation.
06-21-2022 07:19 PM
Hi @eleveo1 , this is more of a Control Hub Login/Logout query but I will attempt to provide an answer,
could you please try the parameters ?type=logout&goto=https://eleveo-example-website.com
but with the idbroker URL i.e this is how one can logout and redirect to the desktop website:
Testing this on postman invalidates the token passed in the Auth header and logs out the user, along with redirecting the user to the targeted site.
Let me know if this helps.
Thanks,
Arunabh.
06-29-2022 02:24 AM
hello @Arunabh Bhattacharjee
thanks for your reply, however it does not work.
When I call: GET https://idbroker.webex.com/idb/saml2/jsp/doSSO.jsp?type=logout&goto=https://our-example-website.com
I get response: returnURL is not allowed.
Of course https://our-example-website.com is replaced with real working url and also, this url is added in "Redirect URI(s)" section when I register our app on developer.webex.com/my-apps. I also tried to add clientId parameter, but does not work either.
From my observation I noticed that goto parameter only works for ".cisco.com" URLs, so this does not help us.
07-11-2022 11:55 AM - edited 07-11-2022 11:56 AM
Hi @eleveo1
This is how to achieve it:
URL :
Accepts : POST, GET
POST https://idbroker.webex.com/idb/oauth2/v1/logout?goto=https%3A%2F%2Fwww.eleveo.com%2F
Needs: Bearer Token Authorization Header OR access token in URI params.
goto= Needs: URI encoded website string
Working Example:
https%3A%2F%2Fwww.eleveo.com%2F
https://www.eleveo.com was added as Redirect URI on the App Settings.
Here is the 200 OK after redirect and logout -
06-17-2022 04:40 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide