Delbert Friesen
-
Posts
2 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Articles
Downloads
Gallery
Posts posted by Delbert Friesen
-
-
Hi,
we have installed SageX3 V2021 R1, can we use graphql on-premise or it only available for the cloud version at the moment?
thanks
Delbert
How to call external REST API using oAuth2 authentication
in General Discussion
Posted
Hi Chitransh,
from our experience, currently it's not possible to use OAuth2 with the EXEC_REST_WS function from ASYRRESTCLI library. The header parameters used in this library are to short to hold a bearer token. You can't fix that without changing the standard library.
Another option (not so easy to implement) is to write a nodejs module that makes the external authentication and call. Then you execute the nodejs module from 4gl script with this library: https://online-help.sageerpx3.com/erp/12/staticpost/asyrwebser-api