335 results found based on the keyword token.
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
Replies

RE: PBTools by Murat Yelkovan - where to find

Hello Everyone,I am currently in the USA developing web applications, iPhone, and Android apps. I am interested in PowerBuilder jobs but haven't received a good offer yet. While developing web-based apps, I found the tools unsatisfactory and often co......
  1. Resolved
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

DwFilter() and DwCompute() attribute don't works at all

Hi, I have written this condition for Model [DwFilter("UPPER(lastname) = 'ASHLEY'")] but it doesn't return the specified criteria data. Secondly, I am facing an issue with the DwCompute() attribute which always returns a NULL value. Please help me ou......
  1. Unresolved
Topic

DwCompute() Annotation is not fetching the data

Hi, I am facing an issue with the DwCompute() attribute which always returns a NULL value. Please help me out to get the computed value from that property instead of NULL value.  For now I am doing this task manually for every property in the whole p......
  1. Unresolved
Topic

RestClient.GetOauthtoken() returns -21

HelloI got a ps-script that can get a token. When trying similar in PB 2022 it returns -5 "Failed to get token".Code pasted in below.Any suggestions are appreciated.BRJesper ......
  1. Unresolved
Replies

RE: Problems with httpclient credentials

HiWhen we converted a SOAP Call to HTTP our message looked something like this:<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns ="http://www.opentravel.org/OTA/200......
  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

Git error during push

Hello since this morning i get the following issue everytime i try to push changes to my GitHub project ---------- Source Control: Errors   (11:00:58)Git detail error info: Early EOFGit client error code: Unexpected EOF.Failed to push workspace. ----......
  1. Resolved
Topic

USB/hardware codesigning error after moving computers

I have a code signing script that works on an old windows 10 computer.  the new windows 11 computer i was getting:Done Adding Additional Store SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed."......
  1. Resolved
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
Replies

RE: RESTful service: HttpClient vs. RestClient

Hi Olaf;  The RestClient object is designed to handle simple data types in a 2D format (row & column). Any more requirements to handle more complex nested data, 3D or Blob datum would be best via HTTPClient which is much more flexible.  HTHRegard......
  1. Resolved
Replies

RE: Which code certificates are people using to sign their PowerServer Installable Cloud Apps?

Hi Rob,I ended up using SSL.com. Someone else had posted they were reasonably priced.  This is from their confirmation email:Your SSL.com 1 Year Code Signing order ref ****** has been issued.It now supports cloud signing using eSigner.com and other 3......
  1. Unresolved
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_ClienttokenRequest ltr_RequesttokenResponse......
  1. Resolved
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 additiona......
  1. Unresolved
Replies

RE: IIS Load Balancer- Power Server Cookie Authentication Issue.

Hi Luis,Assume you have implemented cookie validation via Support cookie validation - - PowerServer 2022 R3 Help (appeon.com). When JWT Auth is enabled, before sending the HTTP request to get the JWT token, do you have any code to set the cookie to t......
  1. Unresolved
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 dynamic session. N......
  1. Unresolved
Topic

Getting license info while opening the pb workspace from snap developer

Hi Team, I am facing issue while opening the pb work space from snap developer, Even though i am having cloud pro license its showing attached error. I tried even opening the snap developer separate and from there i am trying to open the PowerBuilder......
  1. Unresolved

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