117 results found based on the keyword access token.
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......
- 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......
- 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......
- Unresolved
Topic
SMTPClient Object - read confirmation
HiI'm trying SMtpClient in Powerbuilder 2022 R2. There are many new features to use like encodig,logfile,setproxy and xoauth2AccessToken.it's working amazing!!But just to try to maintain the above functionality, is there a way to get opened email con......
- Resolved
Topic
Calling a .NET dll with publicClientApp.AcquireTokenByIntegratedWindowsAuth in it
Hello everyone, I have created a simple .net dll in SnapDevelop and used 'Tools - > .Net dll importer to import it into a non visual object in PowerBuilder. The c# code is below. The code to call this in PowerBuilder is:nvo_useraccesstokenutil n_g......
- Unresolved
Topic
Unauthorization error on trying to login app hosted on PowerServer
Hiwe ran into some serious issue on Friday evening, all our apps suddenly stopped working due to below error.and we are using JWT authentication with our own JWT Servers and verified we are getting a valid access token also. erroring out at app Begin......
- Unresolved
Topic
Unauthorization error on trying to login app hosted on PowerServer
Hi we ran into some serious issue on Friday evening, all our apps suddenly stopped working due to below error.we are using JWT authentication with our own JWT Servers and verified we are getting a valid access token also.......
- Unresolved
Topic
httpclient sendrequest fails on VM with return code of -4
Odd issue that's been plaguing me for awhile now.I'm trying to authenticate against ping access (grab a token) so that I can call a rest api with that token.Here's the powerbuilder code: Constant Integer SECURE_PROTOCOL_TLS = 5 //Set TLS to 1.2 (5)......
- Unresolved
Replies
RE: Azure Key Vault secret
Hi David,I'm implementing azure key vault for our PB server side apis, as well as some C# rest apis. I'm using managed identities to access key vault as the servers being used are all azure computes so it won't be certificate based. However, i beli......
- Resolved
Topic
Is there any specific issue with "OAuthClient" and "TokenRequest" object and the grant_type as "Autherization_code" for access token request? Is there any security concern or disadvantage of using "HttpClient" object for requesting the access token instead of "OAuthClient" and "TokenRequest" object?
We are trying to implement the OAuth flow in PowerBuilder windows application using Azure AD.When the access token is requested using the "OAuthClient" and "TokenRequest" object with the grant_type as "Autherization_code" then we are always getting r......
- Unresolved
Replies
RE: SMTPClient.Send keeps returning an error
probably you need the oauth2 authenticationlooking at the powerbuilder help there is an example using a gmail account which refers to the "XOAuth2AccessToken property":have to try this myself aswell but HTHInteger li_rcSMTPClient lnv_SmtpClientlnv_S......
- Unresolved
Replies
RE: JWT Authentication
Hi Vijay, maybe the code example in this page is of some help?https://docs.appeon.com/ps2022r2/Add_scripts_for_JWT.html RegardsTracy Huang......
- Unresolved
Replies
RE: PowerServer http status code 404 https port 443
Hi Pascal,Is it possible that this issue was caused by the path of the URL?Refer to: web.config - - PowerServer 2022 R2 Help (appeon.com)NoteIf you create and map a new site (or sub-app) to the site where web.config and Web APIs are deployed, and spe......
- Resolved
Replies
RE: JWT - how PS uses it
Hi Mike,You can edit any authentication code in the PowerServer C# solution (a pure ASP.NET Core Web API). But I think it's better to get the Web API URL or database name using another REST API after authentication.I can try to answer a few questions......
- Unresolved
Topic
HTTPClient VS RestClient for getting JWT
I use the restclient to get the JWT token from powerserver web api since that is how the examples show how to do it. From what i can tell however, all the GetJWTToken does is post to the url and put the response body in the 'ref string token' and def......
- Unresolved
Topic
Power 2019 R3: webservice Token using certificate
Hi all. I need to request for a token from a webservice, but it's using a certificate (file in a folder and password for validation).I know it's already implemented in PowerBuilder 2022 as I've been able to test, but in production environment I'm usi......
- Unresolved
Replies
RE: Calling a rest service with a cookie
I was able to get this to work. Thank you Daryl for the request header tip. All of this stuff is new to me.I'm posting the PowerBuilder code I'm using to grab the ping access cookie, and the call to the API. Genericized, but you get the idea.Just in ......
- Resolved
Replies
RE: CreateProcess API Function
Hi Roland,Through this StackOverflow post I found that you can use the function CreateProcessWithTokenW to create a process passing it a specific process access token. Additionally, I found this other function GetCurrentProcessToken that retrieves th......
- Resolved
Topic
Using web API
Hi,I am trying to use an API created in C# in my PB application. I am using PB Version 2017 R3 Build 1878.To use the API, I need an access token that I am able to obtain using OAuthClient, TokenRequest and TokenResponse.But I am not able to access th......
- Resolved
Replies
RE: oauth 2
I solved this using the post by Problems retrieving an Oauth Token from the server from april 2022this was the code ! worked first time !OAuthClient loac_ClientTokenRequest ltr_RequestTokenResponse ltr_ResponseOAuthRequest loar_RequestResourceRespons......
- 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