In this section, we will modify the PowerBuilder application source code and the PowerServer project settings to achieve the following results:
-
Gets the user credential from the application login window, then authenticates it with the Amazon Cognito User Pools and gets an identity token.
-
Uses the identity token to access data from the PowerServer Web API.
-
Refreshes the identity token when necessary.