117 results found based on the keyword access token.
Topic

Possible issue with the OauthClient in Citrix

Currently, we are using the OauthClient object to request a token and then use that token to get the data using the RequestResource function.Thanks to a lot of the posts I have seen here, I was able to put this together and it works quite well.Until.......
  1. Resolved
Topic

Web APIs deployed to IIS - unable to connect to SQL Anywhere DB

Hello,Following the steps inTutorial 3: Hosting Web APIs in IIS (in-process hosting) - - PowerServer 2021 Help (appeon.com)I have at least partially deployed my app's Web APIs to IIS. The PB client can successfully obtain a JWT token and can successf......
  1. Resolved
Topic

Problems retrieving an Oauth Token from the server

The code below is what I decided to go with after reading all of the cases in here and the help.  I am trying to get my token using a client id and secret and then use it to access the data.  On the Method when I try GET then I get a 200 code but not......
  1. Resolved
Replies

RE: GetJWTToken vs SendPostRequest

Hi Marcin,Both SendPostRequest and GetJWTToken send the HTTP POST request to the server, and they need to extract token from the response json. Providing SetJWTToken & GetJWTToken and example code are mainly for users to access JWT Token.For Send......
  1. Resolved
Topic

External URL error with AppProxy

We have a PS app working fine with internal URLs, cloud servers, all over https, but as we want external access to the application we have created external URLs.  Access to external URLs is controlled by MS AppProxy.  We can access the URLs through t......
  1. Unresolved
Replies

RE: trouble Connecting to Git from Appeon Powerbuilder 2021

I understand that you've resolved your issue using PTA. So I just post here in case it helps others in a similar situation.You can try using a PTA as both the user name and password in PB IDE to access your repository on GitHub.To create a PTA, you c......
  1. Unresolved
Replies

RE: SSH protocol for PB Git source control

From March 1st, Bitbucket seems to require SSH (and basic doesn't work any longer). That means that we can now only use commandline or Torstoise Git for pushing/pulling.........
  1. Unresolved
Replies

RE: Using OAuth2 in a Microsoft 365 environment

Dear Kevin, here's my code (please see below)note itr_request is a tokenrequest objectnote itr_response is a tokenresponse objectioac_Client is a OAuth clientMicrosoft says:Authorization responseIf the user consents to the permissions your app reques......
  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

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

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
Replies

RE: Httpclient error 403 Forbidden

Hi Daryl,Thanks for replying.The screenshots as you said:The Postman Headers:The Postman AuthorizationThe Postman Body......
  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
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

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
Replies

RE: Powerbuilder2021 Cloud deployment - SessionId

Hi Jianxin/Mike/Chris, It is not documented yet (we will add into the Release Bulletin right away), but the beta version already allows you to get all sessions or kill a session. 1,Call the /api/custom/getAllsessions to get all sessions; 2,Call the /......
  1. Resolved
Topic

oauth token

HiI hope you can help.I am trying to connect to an API and have been given the following information. I do not have much experience in this area and any help would be appreciated.AuthenticationPurpose - Authorization fro subsequent callsmethod - POST......
  1. Resolved
Replies

RE: JWT Authentication request

Hi Zhao,I tried to follow your kind hints, so I added 'SetRequestHeader':lrc_P020.SetRequestHeader("Content-Type", "application/json")lrc_P020.SetRequestHeader("Authorization", "Basic " + base64 with ID SECRET)but GetOauthtoken returns -1 (general er......
  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