335 results found based on the keyword token.
Topic

Using OAuth2 in a Microsoft 365 environment

Dear all,does anybody have a code snippet for getting a token to use with further calls to the MS 365 REST api?I've got app ID, Client secret, user and password but need a tenant, which I don't have right now. I am not familiar with MS 365 and need t......
  1. Unresolved
Replies

RE: Cannot connect to the repository (2)

Have you tried specifying the PAT (token) that you fill in in the password field also for the user field?......
  1. Resolved
Topic

Consuming REST services from MS Graph

Dear all, has anyone some experience using Microsoft graph?I need to consume REST services from PowerBuilder and would like to do it using the following Powerbuilder objects:OAuthClient ,tokenRequest ,tokenResponse Best regardsThorsten......
  1. Unresolved
Topic

Powerbuilder - Okta integration using Authority Code Grant flow

Hi,Do we have examples on how to implement Powerbuilder - Okta integration using the Authority Code Grant flow? How can the redirect URI be captured back into powerbuilder?We want to be able to call an Okta Login web app and capture the identity and ......
  1. Unresolved
Topic

Stored Procedure-based Dynamic DataWindows with PowerServer 2021

Has anyone successfully deployed a PowerServer 2021 app that uses dynamic DataWindows (created with the Create() method), which are populated by stored procedure? When deploying an app using the documented techniques, all SP-based dynamic DataWindows......
  1. Unresolved
Topic

Error getting token with OAuthClient

Hi all, I'm trying to consume a Rest API to get an authentication token.I have no problemems getting the token on Postman with this configuration: But I cant't do it in PB 2021 with OauthClient, it throws me a -1 error code  (tried also with httpclie......
  1. Resolved
Topic

JWT Authentication - how to apply to an existing API built with SnapDevelop?

Hello, We have a client app we built with PB2019R3 build 2703 and used SnapDevelop to build an API so that we can have a cloud app where the PB client runs on the users' local machine but the database and all data-access will be on Azure in the cloud......
  1. Resolved
Topic

TargetInvocationException on Invocation of DataStore

I've written a .NET Windows Form project where I simply want to evaluate a formula with the .NET Datastore and return the value.  Using SnapDevelop I was able to write a successful console application that utilizes the function similarly but when try......
  1. Unresolved
Topic

Httpclient error 403 Forbidden

Hi,I'm developing an integration between Powerbuilder PB 2019R3 application and a Financial API (external of my company) using HTTPClient, but I'm receiving the return error code 403 Forbidden.// Codestring json, base64, url_apiInteger li_SendReturnl......
  1. Resolved
Replies

RE: n_smtp TLS 1.2 mass mailing

To be honest, I was running the bugGenie using outlook for sending emails and it stopped working somewhere in October. I think Microsoft has changed its policy for authentication and now you have to use a token instead of a password (or something lik......
  1. Resolved
Topic

Google People API

HelloI need to know how to import the contact list (name and email) from my Google account into my ERP.I've been reading about the People API, but can't find any examples of how to use it in PB 2019.I created the token and I know to use the OAuthClie......
  1. Resolved
Replies

RE: ConnectAndCreateTransaction with Oracle / PowerServer application

Hi Bryant,Francisco is correct. It seems you have the 'Begin session by code' option checked. This option is not selected by default, which means the session is automatically created when the application starts. If this option is selected, then the s......
  1. Resolved
Topic

Get token expiration datetime

I am using the RestClient object. With the GetJWTtoken (...) method I get the token.I need to know which method to use to get the token expiration date and time.......
  1. Unresolved
Topic

Has anybody gotten TopWiz pbnismtp working with Outlook 365 (smtp.office365.com)?

My admin swears he has set my account to allow it but I get the following errors.using  - STARTTLS error - Send Email Error: -4 535 5.7.139 Authentication unsucessful, the user credentials were incorect. [MN2PR15CA0001.namprd15.prod.outlook.com]using......
  1. Resolved
Topic

Cancellationtoken in SnapDevelop

Per the SnapDevelop documentation, the RetrieveAsync method takes a cancellationtoken parameter to make an operation cancelable (see link below) and throws an exception in the TRY/CATCH block if that if that happens. How is that done in practice thou......
  1. Unresolved
Replies

RE: PowerServer 2021 Session Creation failed

Armeen & ZhaoKai -Thanks for the tips!  The IIS server is set to listen for https on port 443.  The Web API URL is set to https://csesolutions.insurpas.com:5009.  When the Compile & Run Web API button is clicked in PowerBuilder 2021, the foll......
  1. Resolved
Topic

QR Code Generator error through dll

Hai Appeon team,I am trying to import .net standard dll which was created in snapdevelop to create QRcode. but while I am importing the dll getting below error."Could not load file or assembly 'netstandard Version=2.1.0.0, Culture-neutral,PublicKeyTo......
  1. Unresolved
Replies

RE: Consuming Webservice/ LDAP Login in PB 12.5 Classic

You don't have to use a web service to authenticate.  I used the ADVAPI32.DLL.  Here is the Local External Functions you can use if you want to use that DLL.function long LogonUser(string username, string domain, string password, long logontype, long......
  1. Unresolved
Topic

This browser or app may not be secure.

I am Using Microsoft Web Browser OLE in PowerBuilder 2017 R3, I am using this Web Browser to take credentials from user and generating the OAuth2.0 Authorization Code for further use to generate access token, but when i give the UserId and click on n......
  1. Unresolved
Topic

PowerServer 2021 - Cannot connect to server when creating the session

Error dialog while accessing the app from the browser to install the launcher for first time. Also tried closing PB before trying browser launcher install but no luck:PowerBuilder application execution error (R0222)Application terminated.Error: Canno......
  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