106 results found based on the keyword token.
Replies
RE: Which code certificates are people using to sign their PowerServer Installable Cloud Apps?
You can setup a fully automated signing as part of your builds with no entry of any passwords. This can be done for regular PB as well as PS applications. It is done via a command file (batch file). we use usb tokens, but the same can apply to key...
- mike S
- 3 weeks ago
- PowerServer
Topic
Accesstoken return error -21
hi everybody, My script below do not get required token as it return error -21. Even I have commented out the "secureprotocal" or set it to lower version, it's still not work. Please help OAuthClient loac_Client tokenRequest ltr_Request Tok...
- Ong Chin Keat
- 4 weeks ago
- PowerBuilder
Replies
RE: Powerserver with JWT authentication
Hi Vijay, Please provide more logs of the PowerServer Web API as Mike suggested. Regards, Logan...
- Logan Liu @Appeon
- 1 month ago
- PowerServer
Replies
RE: Getting Unauthorized error calling BeginSession
Hi Kevin, You mention successfully getting the token, but are you using SetHttpRequestHedaer to register the token with the application? Please see the example code in this documentation page for more details: https://docs.appeon.com/pb2022r3/p...
- Francisco Martinez @Appeon
- 1 month ago
- PowerServer
Topic
JSON Rest Service | SendPostRequest Function | RestClient Object | 415 (Unsupported Media Type) | GetResponseStatusCode()
Hi I want to consume a REST service sending the JSON format and get a response from the service. I get the token using GetJWTtoken, which works fine and it is valid, but when I consume the REST service it's require, it returns an error that t...
- Desarrolladores appeon 4
- 3 months ago
- PowerBuilder
Replies
RE: EXEs are getting quarantined post migration from PB2017 to PB2022
Are the applications signed? One of the most often suggested solutions for these kind of false positives is signing the binaries. Regards,Francisco...
- Francisco Martinez @Appeon
- 3 months ago
- PowerBuilder
Topic
Unauthorization error on trying to login app hosted on PowerServer
Hi we ran into some serious issue on Friday evening, all our apps suddenly stopped working due to below error.and we are using JWT authentication with our own JWT Servers and verified we are getting a valid access token also. erroring out at app...
- Kirankumar Chavadi
- 3 months ago
- PowerServer
Topic
Unauthorization error on trying to login app hosted on PowerServer
Hi we ran into some serious issue on Friday evening, all our apps suddenly stopped working due to below error.we are using JWT authentication with our own JWT Servers and verified we are getting a valid access token also....
- Kirankumar Chavadi
- 3 months ago
- PowerServer
Topic
httpclient sendrequest fails on VM with return code of -4
Odd issue that's been plaguing me for awhile now. I'm trying to authenticate against ping access (grab a token) so that I can call a rest api with that token. Here's the powerbuilder code: Constant Integer SECURE_PROTOCOL_TLS = 5 //Set TLS to 1...
- Daniel Mullings
- 3 months ago
- PowerBuilder
Replies
RE: Calling NetUserGetGroups from PowerBuilder
In case anyone following this thread is interested, I have figured out how to call the NetUserGetGroups Windows API function from PB and obtain the results. Had a little problem getting it to work in 64-bit, but it is working now. The small attached ...
- John Fauss
- 3 months ago
- PowerBuilder
Replies
RE: Azure Key Vault secret
Hi David, I'm implementing azure key vault for our PB server side apis, as well as some C# rest apis. I'm using managed identities to access key vault as the servers being used are all azure computes so it won't be certificate based. However, i be...
- mike S
- 3 months ago
- PowerBuilder
Topic
Is there any specific issue with "OAuthClient" and "tokenRequest" object and the grant_type as "Autherization_code" for access token request? Is there any security concern or disadvantage of using "HttpClient" object for requesting the access token instead of "OAuthClient" and "tokenRequest" object?
We are trying to implement the OAuth flow in PowerBuilder windows application using Azure AD. When the access token is requested using the "OAuthClient" and "tokenRequest" object with the grant_type as "Autherization_code" then we are always getting...
- Namdev Gopalghare
- 4 months ago
- PowerBuilder
Topic
JWT Authentication
Hi Team, I need to take jwt response from other system API, from which i need to get user details and roles, I am succeeded to decode the jwt token info in PowerBuilder, however i am not able to get the values from the decoded string , can any ...
- Vijay Kumar
- 5 months ago
- PowerServer
Replies
RE: prevent logging "Application URL parameter:" in "CloudAppLauncher_V2" logs
Hi Gururaja ; Suggestions ... What about sending the User Credential information as "Encrypted"? Store the User information in a DB table. Then pass the 2nd App a "token" that it can use to lookup the user info in the DB table? HTH Regards ....
- Chris Pollach @Appeon
- 6 months ago
- PowerServer
Topic
How to recreate or renew a bearer token in WhatsApp Business
Hi, I have created an application with PB & PowerServer 2022R2 build 2819. It uses WhatsApp Business to send user an one-time user PIN to authenticate user. WhatsApp Business needs a fresh Bearer token (less than 23 h old). How can I update th...
- Hannu Pikkarainen
- 6 months ago
- PowerBuilder
Topic
HTTPClient VS RestClient for getting JWT
I use the restclient to get the JWT token from powerserver web api since that is how the examples show how to do it. From what i can tell however, all the GetJWTtoken does is post to the url and put the response body in the 'ref string token' and...
- mike S
- 6 months ago
- PowerServer
Topic
JWT - how PS uses it
I'm looking at building my own JWT auth service so that i can not only validate with my database, but also send back information in addition to the token (the URL of the PS web api , the database to use, etc.) the PS web api needs to validate the to...
- mike S
- 6 months ago
- PowerServer
Topic
Power 2019 R3: webservice token using certificate
Hi all. I need to request for a token from a webservice, but it's using a certificate (file in a folder and password for validation). I know it's already implemented in PowerBuilder 2022 as I've been able to test, but in production environment I...
- ANTONIO MACIAS NOGALES
- 6 months ago
- PowerBuilder
Replies
RE: Is it possible to code-sign the PB executable after a PowerClient project compiles it?
Hi Glenn, Please try the following methods to see if they can solve your urgent problem:After the PowerClient or PowerrServer project is successfully deployed, sign and replace App.exe on the webServer side. The following is an example of publishing...
- Mora Wang @Appeon
- 7 months ago
- PowerBuilder
Replies
RE: Code Signing in PowerServer 2021 with new code signing cerfiticate requirements?
following.... I renewed my code sign cert about 1 month prior to the changeover so i have a little while yet. I use comodo, which is now a lot more expensive and ssl.com seems much better priced now too. I have no idea how the hardware token metho...
- mike S
- 7 months ago
- PowerServer