Hello,
We need to identify on an Oauth server using the grant_type ‘authorization_code’.
To do this, we've taken the example of using the webbrowser.
ls_Url_code = "https://auth.beta.isabel.be/auth/realms/isabel/protocol/openid-connect/auth?client_id=" + ls_id + "&redirect_uri=" + ls_redirect +"&response_type=code&scope=" + ls_Scope + "&state='ZZZ'&ui_locales='fr'"
OpenWithParm (w_webbrowser, ls_Url_code) //via the WebBrowser control
ls_code = Message.Stringparm
The problem is that to connect to the server, we need to install an add-on in our browser.
The add-on has been installed in Chrome and Edge and it works fine if I run the url directly in these browsers.
When we use the webbrowser in our Powerbuilder application, we get the following error message:
Is it possible to install an add-on on Microsoft Edge WebView2?
Is there another way of recovering the authorization code in Powerbuilder?
Thank you for your help,