108 results found based on the keyword access token.
Topic
Error while trying to add project references
Hi Team,I'm building a class library using .net core 3.1 in which I need to access windows registry keys for validating acrobat installation, I'm trying to use below code but received an errorusing Microsoft.Win32; Error: "CS1069 The type name 'Re...
- Subbiya Vasumoorthy
- 1 week ago
- SnapDevelop
Replies
RE: How can I make my PowerServer app listen for a return value from an external browser to get an OAUTH token?
(DISCLAIMER: I am a co-worker of OP) Is there a way to handle the callback URL? We're following the documentation for Okta because it demonstrates using authorization code flow for an OAuth 2.0 provider, but the actual provider is our own system. Al...
- RP DEV
- 1 week ago
- PowerBuilder
Topic
Connecting to MSOLEDBSQL using access token, issue with the DBparm length
Hi We are attempting to connect to MSOLEDBSQL using an access token, but it is failing. We need some advice on this issue. We have tried the following setups: PowerBuilder 2022 R3 Build 3356 PowerBuilder 2025 Build 3398 We successfully...
- Jostein Ullestad
- 1 month ago
- PowerBuilder
Topic
Self signed certificate in certificate chain
Hi We are trying to add OAuth Authentication in our Application, in my machine where the initial code was developed the authentication works fine, however when I share the code/Exe with team members in their machine it is not working, the first ...
- Pushparaj V
- 2 months ago
- PowerBuilder
Topic
Retrieve User Identity Microsoft Entra ID
Hello, How to get back the user identity from Microsoft Entra ID ? I have well get the TOKEN : loac_Client = Create OAuthClient //TokenRequest ltr_Request.tokenlocation = "https://login.microsoftonline.com/d2b93004-fa61-4e54-ad68-0114729cb9fb/oau...
- Jean-Louis Bouty
- 2 months ago
- PowerBuilder
Topic
OAuth2 sample code for SMTP GMail
Has anybody successfully used OAuth2 to send SMTP email vie GMail Server using SMTPClient in PB22? I have created a GMail app password and have downloaded a JSON file which contains my client_id, client_secret, auth_uri, token_uri, etc. I need to l...
- Larry Peters
- 3 months ago
- PowerBuilder
Topic
Rest Client Send Post Request
Hi Powerbuilder friends, I have this code where I need to send data to our payment partner. It successfully requests a token, but no data is transferred, and there's an authorization error with the JWT token request. String ls_jwttoken, ls_PostData...
- John Michael Tejano
- 4 months ago
- PowerBuilder
Topic
请问pb2019的json字符串怎样进行带key的加密
请问pb2019的json发送数据时,对方需要对发送的json数据进行带 key 的加密,他们的加密方式例子大致见下面: /////////////////////////////// 加密示例代码 String param = AesUtils.encrypt(参数json字符串, KEY); 解密示例代码 String decrypSre = AesUtils.decryptToken(param, KEY)); 加密工具类代码 public class...
- ? ?
- 5 months ago
- PowerBuilder
Topic
TokenRequest: Exchange code with an access token
Hi all, In order to communicate using Rest API to an external company, we log on using the WebBrowser control in PB and when authenticated we receive a code that has to be exchanged to an access token using Oauth2. The plan was to use the OAuthClie...
- Berit Sandvik
- 5 months ago
- PowerBuilder
Topic
PB2022R3 - ORCA ExecutableCreate with embedded Manifest
Hello everyone, We have been creating our programs with ORCA for years - more or less without any problems.Now we have switched to PB version 2022/R3 Build 3356 and have the problem that the EXE we created no longer works. If we look at the EXE fil...
- Benjamin Hübner
- 5 months ago
- PowerBuilder
Topic
Payload data (Application Claim)
Hi Team, I'm able to get access token using OAuthClient. Now, I need to get the claims (payload data ) from access token or id token. Please let me know how we can get the payload data in PowerBuilder. //TokenRequestltr_Request.Method = "POST"lt...
- Shenbagam Balakumar
- 6 months 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
- 7 months ago
- PowerBuilder
Topic
Powerserver with JWT authentication
Hi Team, I enabled buil-in jwt authentication for powerserver application with database user list, I am able to get the access token, however i am unable to start application i mean beginsession is failing , i enabled the application object addit...
- Vijay Kumar
- 7 months ago
- PowerServer
Topic
Getting Unauthorized error calling BeginSession
Our team is working on getting Azure AD applied to our PowerServer application. After successfully getting the access token, we need to call BeginSession. We are getting the throw error. Code: I have the app variable setup to use the dynami...
- Kevin Bell
- 7 months ago
- PowerServer
Topic
SMTPClient Object - read confirmation
Hi I'm trying SMtpClient in Powerbuilder 2022 R2. There are many new features to use like encodig,logfile,setproxy and xoauth2AccessToken. it's working amazing!! But just to try to maintain the above functionality, is there a way to get opened ema...
- damian jimenez
- 9 months ago
- PowerBuilder
Topic
Calling a .NET dll with publicClientApp.AcquireTokenByIntegratedWindowsAuth in it
Hello everyone, I have created a simple .net dll in SnapDevelop and used 'Tools - > .Net dll importer to import it into a non visual object in PowerBuilder. The c# code is below. The code to call this in PowerBuilder is: nvo_useraccesstokenut...
- David Pylatuk
- 9 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
- 9 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
- 9 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
- 9 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
- 9 months ago
- PowerBuilder