117 results found based on the keyword access token.
Replies

RE: Looking for instructions on PB 2025 with GitHub (options, how to guide)?

Hi.Setting up git source control is pretty much the same procedure either you use Workspaces or Solution. The key issue is that if you have a repository created in workspace, there is no way to "transfer" the data in the repository when transforming ......
  1. Resolved
Topic

Connect PB 2022 to GitHub Enterprise w/ 2FA enabled

I looked to see if someone asked this already, but couldn't find an answer.Our GitHub enterprise account is set up with mandatory 2FA to authenticate and connect to the repo.In the PB IDE, my GitHub credentials will not work as it can't do the 2nd (2......
  1. Unresolved
Topic

OAUTH 2.0 Microsoft

Hi everyone,I'm trying to retrieve the authentication token from the Microsoft server but something happens that I don't understand. I can get the token but when I go to use it I get an invalid credentials error. I think the token I get is not good b......
  1. Resolved
Replies

RE: Why Am I getting this error and how can I fix it? Invalid~Hex character sequence in string

Hi Reynard,As John and others have said, the issue is the tilde character in the secret which Powerbuilder uses as an escape character in a string literal.  Because of that urlencoding won't help. If you read those credentials from the database ......
  1. Unresolved
Replies

RE: timezone offsets calculations

Take a look at this example:https://www.topwizprogramming.com/freecode_bcrypt.htmlTzSpecificLocalTimeToSystemTime is used to convert local current time to UTC. See of_CurrentUTC.......
  1. Resolved
Topic

I have a question if I already get the APIKey which never changes and I dont want to retrieve the APIKEY using my ID and secret password from the API  which I use to get it and save it in the database why cant I pull it from the database and use it to pull the bearer key?

I have a question if I already get the APIKey which never changes and I dont want to retrieve the APIKEY using my ID and secret password from the API  which I use to get it and save it in the database why cant I pull it from the database and use......
  1. Resolved
Topic

HttpClient gets random "No Session exists for access token. (401)"

Hi ThereApologies in advance, this is probably something obvious as I am not used to calling REST API's. I have written code based on the examples given in application techniques. The situation is that the code works sometimes but not others.Here is ......
  1. Resolved
Topic

Error getting OAuth access token using RESTClient

Hi, I hope you can help us with a perplexing issue we are seeing. No known cause has been found yet.We are experiencing intermittent errors when getting OAuth access token in RESTClient - it works most of the time but fails for a few users dailye.g. ......
  1. Unresolved
Topic

Unable to get ADO connection working using access token, please help.

HiWe face an issue related to ADO database connection and are seeking help resolving it.PowerBuilder: 2022 R3 Build 3391Visual Studio: 2022DBMS: Microsoft Azure In short, the issue is that any SQL command fails with SQLCode -1 and no SQL error text.A......
  1. Resolved
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 'Regist......
  1. Unresolved
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. All ......
  1. Resolved
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 3356PowerBuilder 2025 Build 3398 We successfully accessed the data......
  1. Unresolved
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 part......
  1. Unresolved
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/oauth2/v2......
  1. Unresolved
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 learn......
  1. Unresolved
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,ls_......
  1. Unresolved
Topic

请问pb2019的json字符串怎样进行带key的加密

请问pb2019的json发送数据时,对方需要对发送的json数据进行带 key  的加密,他们的加密方式例子大致见下面:///////////////////////////////加密示例代码String param = AesUtils.encrypt(参数json字符串, KEY);​ 解密示例代码String decrypSre = AesUtils.decryptToken(param, KEY));​​ 加密工具类代码public class AesUtils { priva......
  1. Unresolved
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 OAuthClient a......
  1. Unresolved
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 file in......
  1. Unresolved
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"ltr_Requ......
  1. Resolved

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DPI DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder RibbonView Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Solution Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom