cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1056
Views
5
Helpful
4
Replies

webexcc redirect after logout

eleveo1
Level 1
Level 1

We are trying to implement WebexCC as identity provider.
We are able to use oauth2 endpoints for authorizing user and obtaing access token and also log out, however there is a problem with redirection back to our page after logout. When logout endpoint is called, user is successfully logged out from webexcc, but we expect redirect back to our page and it does not work.

 

The question is:
Is there a way how we can be redirected back to our application after logout? What parameters should we include in logout url?

 

The endpoint with parameters we are calling is:

https://idbroker.webex.com/idb/oauth2/v1/logout  
?state=e6cd570d-83e7-44db-8ee88a178eda2d55
&id_token_hint=eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJDZWFkYjk5NDYxNGFmYTJlY2FkMDFlY2YwNzIyMTM2ODM2NzQ1MTNmYTU1ZjRiYzczZjM0NjQ5NDQxZmQ2MWJkYSIsInN1YiI6ImRhMWRmNTI4LTJjNTQtNDIwOS04MjdjLWJjNGRlYjJiZDcxYSIsImlzcyI6Imh0dHBzOlwvXC9pZGJyb2tlci53ZWJleC5jb21cL2lkYiIsImV4cCI6MTY1NDYxOTU4OCwiaWF0IjoxNjU0NjEyMzg4fQ.HFqFgkksq-XskZ6gGoj2RBi-L0JS0GDCi5nhvPHM6EKBEerqX_taroJ85yjDtuaFMeKaxnd09vw1eH1LSZXiAia-YhRebNoOzsluUu3UC7hUJkhumLB0p-BViAd5ecn6_37bLgvz63-AhWDZrux2GGdXj4MNt8qF96-RbSVkIctX7begbTzi1PP796qm4bBipV5uNM89O22_lbyt_9fOFLMIccgPSq_kAaFDqBsSahDYokjuC5jOIiXXhKspdJuuvI8n2ZITvJfbIGwvfZSi8SJzhPNw8PxvgUhno-OzTuSVmCd9gxpUlFGuKyxZzMHKnLcaznVvR0cXWz8wGJ54bQ
&post_logout_redirect_uri=http%3A%2F%2Flocalhost%3A8081%2Fauth%2Frealms%2Fdefault%2Fbroker%2Fwebexcc%2Fendpoint%2Flogout_response  

 

4 Replies 4

Raffaele Lagana
Cisco Employee
Cisco Employee

It seems that you're using the internal api idbroker.webex.com. As this is an internal API we cannot guarantee that it will work as you expect as it has a specific use for webex, which may not meet your scenario. I think the API is expected to redirect to its own page, not one set by you. Can you confirm where you got the API from? Did you see some documentation about it maybe?

We were checking API documentation for webexCC: https://developer.webex-cx.com/documentation/authentication however did not found anything about logout. We found this logout endpoint just by trying and this is the only one working for us, just this post logout redirect does not work. We also tried "https://webexapis.com/v1/logout", however this endpoint first requires access_token in header, but when it is provided it returns HTTP404.

If you could confirm, that post logout redirect to our defined page does not work with webex API it would help us as well.

Ah ok got it. The Contact Center APIs aren't actually supported by our team (Developer Support). You would need to reach out to a separate team for this, you can do so by emailing wxcc-apis@cisco.com . Or you can use their community space, https://community.cisco.com/t5/contact-center/webex-contact-center-apis-developer-community-and-support/td-p/4558270. I guess they use idbroker in a different way than we do with our APIs (on https://developer.webex.com).

Thanks, I will try to write to their community space.