344 results found based on the keyword token.
Topic

BeginSession error trying to continue after Session Timeout - PowerServer

Hi I followed the instructions for AD authorisation in the PowerServer docs. The code makes a call to BeginSession so that it has the AD Authorisation details when connecting. This all works fine.  I want to begin a new session following a session ti......
  1. Resolved
Replies

RE: Digitally signing PDF files

May be this one, Chilkat got this one.PowerBuilder Sign a PDF using SmartCard or HSM (Hardware Security Module) (example-code.com)// Load the certificate on the smartcard currently in the reader (or on the USB token).// Pass an empty string to allow ......
  1. Unresolved
Replies

RE: Azure Managed identity (ClientSecretCredential)

are you already using Azure AD?  If not, (or as an alternative), it is fairly typical for blob storage processing to create a SAS access token and use that.     ......
  1. Unresolved
Replies

RE: Incorrect RS256 signature generated by CrypterObject SHA and AsymmetricSign functions

Hi Eric, I verified in PB and everything worked fine. After I used the AsymmetricSign function to generate the signature, I used AsymmetricVerifySign to verify the signature successfully. Compared to the website jwt.io, there is a difference, not sur......
  1. Unresolved
Topic

SetFocus takes 10 minutes, no idea why

PowerBuilder 2019 R3 Build 2728Windows 10 Enterprise 22H2 We have a customer who has upgraded from a pretty old version of our software to a more recent one, and they are complaining that a window now takes over 10 minutes to retrieve.After......
  1. Resolved
Replies

RE: Powerbuilder 2022 cannot connect to Git

I'm not using GIT but I seem to remember that there was a time/version when you had to connect using the password/token in both the user field and the password field. In later versions, I think that might have changed and now you CAN (have to?) use t......
  1. Unresolved
Topic

PowerClient Link Parameter Length issue, Parameter length > 490 not running PowerClient App

Hi!!! Use PowerClient.we use SSO. PowerClient link is https://{domain}/{powerclient App}/index.html?123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890......
  1. Unresolved
Replies

RE: Leaving a Powerserver app open overnight

If keeping the app open over many days and making it somewhat tolerant to internet outages, then you should experiment with getting and updating the session token to see if you can handle it:You could try and reset the access token when you get a ses......
  1. Unresolved
Replies

RE: Performance of Background Processing PB2019 LTR vs PB2017 LTR

Hi Glenn;  Here are the settings i use in my PB.ini for both the IDE and PB App runtime EXE...[PB]; create a debug log when running from development modePBDebug=ONDebugOutFile = c:\\.dbg; No = Extended MAPIUseSimpleMAPI=yes; Use 1 to force 8 Byt......
  1. Unresolved
Replies

RE: Best Way To "Merge" Data

Hi,interesting use case.Let's say Joe wants to update the Department table in PB Demo DB.Sivaprakash highlighted the necessary steps, so let me elaborate these steps and write down some code from his hints:Steps 4-5 (API side) are very normal. The Se......
  1. Resolved
Topic

Dropbox files from PB

HiII'm trying to download files from Dropbox In  pb app.I tried to use the rest api, as was demonstrated on Kevin's webinar.That works well, but the access token used is temporary only... And expires. How can I code a script for that, but with a perm......
  1. Unresolved
Topic

More detailed REST WEBAPI examples requested

So I have reviewed the Rest WebAPI example application from Appeon located athttps://docs.appeon.com/snapdevelop2019r3/Secure_a_Web_API_with_JWT_token/index.html#test-the-web-apiI am using PB 2022 for this and trying to build a simple WebAPI to do so......
  1. Unresolved
Topic

IIS configuration with pb 2021

We are trying to install a .net web services on a Windows 2012 R2 server, but the runtime files installation of PowerBuilder 2021 does not contain the required files. StepsInstallation IIS & ASP.net 3.5 and 4.5Restart serverInstalling 2021 runtim......
  1. Unresolved
Topic

how to pass the service account credentials to google api

Hi All, can anyone please help me out, how to pass the service account credentials to google api  (https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/:signJwt) I'm in process of generating the JWT token, we are utilizing the Google's......
  1. Unresolved
Topic

Error accessing a stored procedure after migrating to MySql 8.0

Hello I recently migrated to Mysql 8.0 (from 5.6) and I am having an issue with my reporting application, when accessing a report that calls a stored procedure, i am receiving this error:I searched about it, and it seems that Mysql 8.0 does not have ......
  1. Unresolved
Topic

GetJWTtoken return value -26 is undocumented

anyone have any idea what -26 return code means from GetJWTtoken? Link to the documentation.  lots of holes in the return value listGetJWTtoken - - PowerScript Reference (appeon.com)......
  1. Unresolved
Replies

RE: Application EXE Working in source machine not in others machine

Just make sure you are aware that PB has HTTP client, JSON parser/generator, OAuth and JWT token support, etc. so there is no need to use a .NET DLL you can natively call virtually any Web service from PB directly.  By doing so you make your deployme......
  1. Resolved
Topic

Google API access token using JSON Private Key

Hello,Could someone please help me in figuring out how to get a Google API access token using JSON Private Key.The JSON key would look like this:// {// "type": "service_account",// "project_id": "ID of Project",// "private_key_id": "fa2e36e......
  1. Unresolved
Topic

请问下Auth接口服务

请问下  Auth接口服务 怎样调用,用下面方法调用好像获取不到数据,是不是用别的方法,谢谢Integer li_rcString ls_stringHttpClient lnv_HttpClientlnv_HttpClient = Create HttpClient////获取token// Sends request using GET methodli_rc = lnv_HttpClient.SendRequest("GET", "https://*****/token")// Obtai......
  1. Unresolved
Topic

Users PB 19 R3 with Bitbucket

Hi. About PB 19 R3 + bitbucket.I'd configured as appeon and bitbucket said, using app tokens, but I have a question.I can put any email and it'll assume others login, I've tested and bitbucket uses the email to present the person that have pushed the......
  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