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.  How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/04/22 10:54 PM

    What product/components do you use and which version/fix level are you on?

    webMethods API Gateway

    Is your question related to the free trial, or to a production (customer) instance?

    Production (customer) instance

    What are you trying to achieve? Please describe it in detail.

    I was trying to apply 2 Authentication in API Gateway for the same API.
    In the below diagram, Use Case 1 - Customer will call the API and it is using JWT Validation in API Gateway.
    In Use Case 2, it is a batch job process to API through webmethod API Gateway.

    According to the document, it is supporting the ‘OR’ Condition.
    But it seems it would throw an error for the mTLS-only case.
    Please advise

    Do you get any error messages? Please provide a full error message screenshot and log file.

    Have you installed all the latest fixes for the products and systems you are using?


    #webMethods
    #API-Management
    #API-Gateway


  • 2.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/11/22 02:23 AM

    Hi Michael,
    I have few questions on the use case. Are you trying to use JWT OR SSL cert as authentication? Also have you set up any applications?

    Please share the error you are receiving when you are trying SSL only.

    Regards.


    #API-Gateway
    #webMethods
    #API-Management


  • 3.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/16/22 10:03 AM

    Are you trying to use JWT OR SSL cert as authentication? <— I was trying to 2 Authentication.
    1 is JWT and the other is SSL Cert.
    Because JWT one is a request coming from a user.
    SSL Cert is a Backend Schedule Job to call into the same API.

    I didn’t have an error yet but want to understand if this setup is technically feasible or not.


    #API-Gateway
    #webMethods
    #API-Management


  • 4.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/17/22 01:43 AM

    Hi Michael,
    This is possible if you use condition type OR in Identify & Authorize policy.

    Regards.


    #webMethods
    #API-Management
    #API-Gateway


  • 5.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/30/22 10:07 PM

    hi @Prabaa

    still have 2 questions:

    1st Problem:
    If I have 2 different JWT Validation on the same API, how to config this setup?
    The right panel only allows select one of them.

    2nd Problem:
    Tried to add one more “Identify & Authorize Application”, but it doesn’t allow me to add it.
    For 2 JWT Validation Cases, should I add one more “Identify & Authorize Application”?


    #webMethods
    #API-Gateway
    #API-Management


  • 6.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/30/22 10:14 PM

    HI @Prabaa

    sorry, still have a questions on this

    If I have to support 2 different JWT Validation on the same API, how to config it from the panel?
    For example the same API for Customer and Staff Access. They will have two different AuthN.
    In (2), it is only allowed to select 1 JWT.
    and not allowed me to add one more “Identity and Authorize Application” (3).
    Not sure if the correct way to make it support 2 JWT Validation is.
    Thank you


    #webMethods
    #API-Management
    #API-Gateway


  • 7.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 11/01/22 08:23 AM

    you can apply 2 different Authentications into API Gateway for same API Endpoint.
    I thought 2 same Authentications is not possible.


    #API-Gateway
    #API-Management
    #webMethods


  • 8.  RE: How to apply 2 Authentication into API Gateway for same API Endpoint?

    Posted 10/17/22 04:18 AM

    Thank you. will try


    #API-Management
    #webMethods
    #API-Gateway