Add an INI file
Create an INI file in the same location as the PBT file and name
it CloudSetting.ini.
Specify the URL for requesting the token from the JWT server in
the CloudSetting.ini file. Notice
that TokenURL points to the
“/connect/token” API of the built-in JWT server, and the JWT server
root URL (for example, http://localhost:5099/) is the same as the root
URL of PowerServer Web APIs. If you change the PowerServer Web APIs
root URL, change the root URL here accordingly.
|
1 2 |
[Setup] TokenURL=http://localhost:5099/connect/token |
To get the username and password from the INI file (instead of
from the login window), you need to add the following section to the
CloudSetting.ini file and set the
user name and password accordingly.
|
1 2 3 |
[users] userName=alice userPass=alice |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest