App Connect

 View Only
  • 1.  call Rest API protected by Oauth2.0

    Posted Thu September 02, 2021 09:56 AM
    Hi,

    i am trying to call a rest api protected by oauth2.0 with grant_type password using rest request node.
    Is there anyway to store the username, password, client_id and client_secret as credentials or dbparams to use them in  the code.

    Best Regards,

    ------------------------------
    joe alAbiad
    ------------------------------


  • 2.  RE: call Rest API protected by Oauth2.0

    Posted Tue September 07, 2021 10:44 AM
    While you can store these items with mqsicredentials or mqsisetdbparms, OAuth is only supported on the SalesforceRequest node.  No other node has built-in support.  You will thus need to set the OAuth header in ESQL or Java before the RESTRequest node.  Neither ESQL nor Java can access the values stored in mqsicredentials or mqsisetdbparms.  Thus you will need to store/access the credentials another way, such as a UserDefined policy or file.

    ------------------------------
    MATTHEW SEGALL
    ------------------------------



  • 3.  RE: call Rest API protected by Oauth2.0

    Posted Wed November 29, 2023 12:25 PM

    Is there any update to the OAUTH 2.0 support for other nodes in ACE 12?



    ------------------------------
    Arun Cherracheriel Gopinathan
    ------------------------------