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
Expand all | Collapse all

Issue with API Gateway basic auth at provider end - routing policy

  • 1.  Issue with API Gateway basic auth at provider end - routing policy

    Posted 10/23/20 04:31 AM

    We are facing below issue while working with API Gateway routing policies.

    When I am passing basic Auth credentials in header as “ Authorization Basic *******”, I am getting error from provider as “Access key not found”.

    But when I am passing same username/password values using policy “Outbound Authentication-Transport -->Basic -->custom credentials it’s working as expected.(like hard coded inputs in gateway).

    same provider request working fine with Postman with basic auth.

    in some other scenario , i am validating Oauth in same manner where that one working fine.

    facing issue in 10.3 gateway.


    #API-Management
    #API-Gateway
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Issue with API Gateway basic auth at provider end - routing policy

    Posted 10/23/20 04:58 AM

    Hi Naresh,

    Please check if you have “Identify & Authorize Application” policy configured in IAM stage with HTTP Basic authentication. In that case, API Gateway will remove the auth header before forwarding request to native server as the auth header is meant for API Gateway alone. You can override it using “Outbound Authentication-Transport -->Basic → Use incoming credentials" option.

    Regards,
    Vallab


    #Integration-Server-and-ESB
    #API-Management
    #webMethods
    #API-Gateway


  • 3.  RE: Issue with API Gateway basic auth at provider end - routing policy

    Posted 10/23/20 07:35 AM

    Hi vallab,

    thank you for quick reply. issue is resolved now. my basic auth encoded username/password was going in multi line in backend. now after making changes in base64encode service, issue is resolved now.


    #Integration-Server-and-ESB
    #webMethods
    #API-Gateway
    #API-Management