OleMobekk | 2019-05-24 08:08:44 UTC | #1
We are using the PureCloudOAuthControl in our WPF application and are now receiving this error.
Is there a way to fix this?
tim.smith | 2019-05-24 14:15:03 UTC | #2
I think you want to set ScriptErrorsSuppressed to true. OAuthWebBrowser extends WebBrowser, so you should be able to set this property on it directly.
tim.smith | 2019-05-24 14:16:43 UTC | #3
Also, it might be using an ancient version of IE. Registry settings on your local machine determine what version of IE is used by the WeBrowser control: https://stackoverflow.com/questions/17922308/use-latest-version-of-internet-explorer-in-the-webbrowser-control
OleMobekk | 2019-05-27 07:00:22 UTC | #4
ScriptErrorsSuppressed hid the message. So the error is "gone". I still get the error in IE v11.765.17134.0 so its percent in the newer version.
tim.smith | 2019-05-28 15:12:05 UTC | #5
That error is being thrown by the login page, not the oauth control. If suppressing it doesn't cause a problem, I'd go that route. If you need the error investigated further, please open a case with PureCloud Care because the error relates to the base product (login page), not the browser or customization itself.
system | 2019-06-28 15:12:01 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 5227