App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
 View Only
  • 1.  Authenticate JWT bearer token using HTTP request node

    Posted Tue June 01, 2021 05:14 AM
    Hi Team,
    I'm trying to pass the Bearer token to call an API in HTTP Request Header but receiving HTTP/401 Unauthorized error.

    SET OutputRoot.HTTPRequestHeader."Authorization" = 'Bearer '||{Access Token received from OAuth URL};
    SET OutputRoot.HTTPRequestHeader."Content-Type" = 'application/json';

    Could you please let me know if I need to encode the URL or else let me know if any issues with the above approach?

    P.S: I can post the message in Postman with same Bearer token

    Regards,
    Vimal Raj D

    ------------------------------
    Vimal Raj Devaraj
    ------------------------------


  • 2.  RE: Authenticate JWT bearer token using HTTP request node

    Posted Mon November 18, 2024 09:58 AM

    Hello, were you able to resolve this?

    Regards,

    Ranjanamala G N



    ------------------------------
    Ranjanamala G N
    ------------------------------



  • 3.  RE: Authenticate JWT bearer token using HTTP request node

    Posted Thu November 21, 2024 03:26 AM
    Edited by Matthias Blomme Mon November 25, 2024 03:33 AM

    Hi Vimal

    Let's talk basics, did you set the compute mode to include message?

    If you create a very restapi flow, and let your other flow connect to that one, you can see what the outgoing message actually is. Maybe that helps?

    ------------------------------
    Regards
    Matthias Blomme
    Integration Specialt
    Integration Designers
    Turnhout
    ------------------------------