- Mike Sinclair
- PowerBuilder
- Tuesday, 12 November 2024 06:02 PM UTC
I am working on a new PowerServer application. The desired login behavior is to have the app open an external browser, then the user logs in via our OAuth2.0 Identity Server (placing the token in that browser for other affiliated web-based applications to share the same login), or detect that they have already logged in, and then get the user ID from the token to use within my application.
I want the PowerServer application to listen for the response from the browser so it can know when the token is available. In all of the examples that I have found online, an internal browser control is being used, making it is relatively simple to get the token in the message.stringparm variable. I have to use the external browser so all affiliated applications can share that token.
Is there a way to make the PowerServer app listen for a response from the browser? Or is there a better approach to this? Any help is much appreciated.
Thank you,
Mike Sinclair
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.