App Connect

 View Only
  • 1.  Generating JWT Bearer token in ACE ESQL

    IBM Champion
    Posted 18 days ago

    Hi,

    I have a requirement to generate JWT Bearer token from Certificate ID. Is there any built in function available in ESQL to generate JWT Bearer token, or what is the recommended way to use in ACE?

    Note: The access token shared by the external application expires in 2 hours. Hence every time if I need to get the access token, I have to regenerate the JWT Bearer token in ACE and get the corresponding access token from the external application.

    Thanks,

    Santhosh Ramanathan



    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------


  • 2.  RE: Generating JWT Bearer token in ACE ESQL

    Posted 8 days ago

    Hi Santhosh,

    I'm not sure that there is ESQL built in function. I always use a java compute and import the nimbus library.

    https://connect2id.com/products/nimbus-jose-jwt

    Perhaps this can help you.



    ------------------------------
    kim meynendonckx
    ------------------------------



  • 3.  RE: Generating JWT Bearer token in ACE ESQL

    IBM Champion
    Posted 13 hours ago

    Hi Kim,

    Thanks for the link. Can you please advise how to use this library for Signing using PS256 algorithm

    Thanks,

    Santhosh Ramanathan



    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------