- Aimee Stephens
- PowerBuilder
- Friday, 14 July 2023 12:38 PM UTC
I'm trying to add OAuth to our application for a new client. I ran the Google example through the PB IDE with no issues. However, after I created a PowerClient app the system crashes as soon as it attempts to call the WebBrowserSet or WebBrowserGet functions. We had a demo of PowerServer but we aren't ready to go that route yet and we were informed that we can perform OAuth through PowerClient. No error is returned and because it works through the IDE I don't know what could possibly be wrong. Any advice would be greatly appreciated.
These are the lines of code that are causing the crash when running the exe and are called in the application object's open event:
li_rc = WebBrowserSet ("UserAgent", "Chrome/113.0.5672.93")
li_rc = WebBrowserGet ("UserAgent", ls_value)
PB 2022/64-bit/Windows Server 2016
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.