96 results found based on the keyword access token.
Topic
Web APIs deployed to IIS - unable to connect to SQL Anywhere DB
Hello, Following the steps in Tutorial 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 su...
- Ronnie Po
- 1 year ago
- PowerServer
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 n...
- Miller Rhodes
- 1 year ago
- PowerBuilder
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 ...
- Kai Zhao @Appeon
- 2 years ago
- PowerBuilder
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...
- Jason Frost
- 2 years ago
- PowerServer
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, y...
- Tom Jiang @Appeon
- 2 years ago
- PowerBuilder
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......
- Gian Luca De Bonis
- 2 years ago
- PowerBuilder
Replies
RE: Using OAuth2 in a Microsoft 365 environment
Dear Kevin, here's my code (please see below) note itr_request is a tokenrequest object note itr_response is a tokenresponse object ioac_Client is a OAuth client Microsoft says: Authorization response If the user consents to the permissions...
- Thorsten Kummer
- 2 years ago
- PowerBuilder
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?...
- Miguel Leeuwe
- 2 years ago
- PowerBuilder
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 ...
- Edmundo Buni
- 4 years ago
- PowerBuilder
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 w...
- Pepe Cuenca
- 2 years ago
- PowerBuilder
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 clo...
- Glenn Scamman
- 2 years ago
- SnapDevelop
Replies
RE: Httpclient error 403 Forbidden
Hi Daryl, Thanks for replying. The screenshots as you said: The Postman Headers: The Postman Authorization The Postman Body ...
- Marcos Bolonha
- 2 years ago
- PowerBuilder
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...
- Miguel Leeuwe
- 2 years ago
- PowerBuilder
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...
- Kai Zhao @Appeon
- 2 years ago
- PowerServer 2020 or older (Obsolete)
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...
- Prabal awasthi
- 2 years ago
- PowerBuilder
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:...
- Sanjay B
- 2 years ago
- PowerServer
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...
- Julie Jiang @Appeon
- 2 years ago
- Beta Testing
Topic
oauth token
Hi I 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. Authentication Purpose - Authorization fro subsequent callsmetho...
- Andrew Davis
- 3 years ago
- PowerBuilder
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 (ge...
- Alessandro Malaguti
- 3 years ago
- PowerBuilder
Replies
RE: PowerClient .msi generation
Hi Pauline, PowerClient automates the install and updates of your client/server app from a Web server using a client agent. The client agent is what is available as an .MSI so that your IT Admin can pre-install for all the users. Alternatively, th...
- Armeen Mazda @Appeon
- 3 years ago
- PowerBuilder