IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online 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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  JWT support in 10.7

    Posted 04/02/24 06:05 PM

    Hi

    Does IS 10.7 support JWT authentication for calling external APIs, looking in the IS services documentation there is no mention of JWT. In 10.11 I believe there is pub.jwt services.

    I can see the 10.7 admin page has a JWT option, but is that just for incoming calls ?

    Do i need to configure this in the gateway ?

    I do have some legacy java code that will retrieve the token for me so i can do this, but before using a custom approach I would like to see if IS 10.7 really supports JWT

    TIA
    Mark


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: JWT support in 10.7



  • 3.  RE: JWT support in 10.7

    Posted 04/02/24 09:58 PM

    Hi @Mark_Mcniff1
    Looking at the documentation link @engin_arlak shared, IS 10.7 JWT functionality is for incoming calls.

    If your ask if for incoming calls, IS acts as server

    • Client generates JWT signature using an external Identity provider
    • Client sends JWT in http header to IS
    • IS validates if it is valid JWT based on the certificate imported

    If your ask is for outgoing calls, which means IS acts as a client and you want to generate JWT and attach in the Header

    • IS generates JWT using certificate and algorithm ( functionality similar to identity provider)
    • IS attaches JWT in Http header
    • IS invokes external APIs with JWT part of the header

    Built in service pub.jwt:generateSignedJWT will help for the second scenario but if it is only available in later version, you may have to custom code.

    HTH
    Senthil


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: JWT support in 10.7

    Posted 04/03/24 04:24 PM

    For the times we’ve had IS as client to a server, we just make an HTTP call using the built-in services, passing the necessary credentials and get the token back. Then use that in subsequent calls. Unlikely to need Java for this.


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: JWT support in 10.7

    Posted 04/20/24 04:19 AM

    While a bit off-topic, let me just mention that this type of flexibility is a core reason why I think IS is such a wonderful platform. I actually think that it makes a wonderful general-purpose application server, not only being great for integration.

    I must also confess that I have come to love Java on IS, although I largely develop POJOs and use IS Java services as wrappers to call them. But that is certainly a different topic.


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: JWT support in 10.7

    Posted 04/12/24 12:38 PM

    even on version 10.15 , webMethods only support RSA Family of algorithm for JWT. if you are JWT to generate token for outbound call and you going to use any of the other algorithm you need to develop java service on your own. This was the case for me, I entered brainstorm request. hope SAG will include all the Algorithms as pert JWT.


    #webMethods
    #Integration-Server-and-ESB