1. Pushparaj V
  2. PowerBuilder
  3. Friday, 6 September 2024 09:44 AM UTC

Hi Team,

Could you please help on below issue:

Sample code followed: Implementing OAuth 2.0 Authorization with PowerBuilder 2019 R2 - Appeon Community

We are trying to add Oauth in our application, redirect URL configured for this request is http://localhost:*, https://localhost:*

In my machine where the original code was developed this is working fine, I am able to hit the Auth URL via webbrowser control and I am getting back the auth code value appended to this re-direct URL. 

However when I share code to other developer and when they try it on their machine then it is not working, when the re-direction happens in resourceredirect event we can see the header has the error details as below

[{"name": "Upgrade-Insecure-Requests", "value": "1"}, {"name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0"}]

 

Even I tried with multiple machines and same behavior observed.

Tried on below PB Versions:

PowerBuilder 2022 R3: Build 3356

PowerBuilder 2019 R3: Build 2728

 

Could you please help on this issue

 

Thanks

Pushparaj



There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.