cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
207
Views
0
Helpful
1
Replies

Issue with Redirect URI in Webex Device Authorization Flow

rachelro
Level 1
Level 1

Hi everyone,

I'm implementing an integration with Webex using OAuth 2.0 Device Authorization Flow
Even though I configured the following redirect URIs in my Webex integration settings (as per the official documentation):
https://oauth-helper-a.wbx2.com/helperservice/v1/actions/device/callback
https://oauth-helper-r.wbx2.com/helperservice/v1/actions/device/callback
https://oauth-helper-k.wbx2.com/helperservice/v1/actions/device/callback
I got an error in the browser URL after user authentication:
error=redirect_uri_mismatch&error_description=The%20redirection%20URI%20provided%20does%20not%20match%20a%20pre-registered%20value.
After checking the request in DevTools, I noticed that Webex automatically redirected the request to a different URI:
https://oauth-helper-d.wbx2.com/helperservice/v1/actions/device/callback
(Instead of a/r/k, Webex changed it to d.)
Surprisingly, when I manually added the d version to my integration settings, everything worked fine.

Why is Webex using a redirect_uri that is not listed in the official documentation?
 Is this a recent change, or is the Webex OAuth system dynamically assigning different URIs?
Should I expect additional changes to the redirect_uri structure in the future?
Is there an official Webex recommendation on how to handle these dynamic redirect URIs?

Thanks in advance for any insights!

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@rachelro this sounds like a documentation error that needs to be fixed. Can you please open a support case for the same - https://developer.webex.com/support . We will check with the corresponding engineering team to update the docs. Thanks