Purpose

In this section, we will modify the PowerBuilder application source code and the PowerServer project settings to achieve the following results:

  • Sends the user credentials and/or password to the JWT server and gets a token from the JWT server if authentication is successful.

  • Uses the token to access data from the PowerServer Web API.

  • Refreshes the token when necessary.