Cloud Pak for Business Automation

 View Only
Expand all | Collapse all

How to create a swagger call to get an auth token in BAW

  • 1.  How to create a swagger call to get an auth token in BAW

    Posted Mon May 30, 2022 06:28 PM
    Edited by Mohamad Sariman Mon May 30, 2022 08:36 PM

    Anyone,
       How do I create a swagger file with a Basic Auth header to implement a token auth call similar to the call in soap below executing from a BAW service.

    1. The Authorization was ignored when imported in BAW service.

    ==================================================================


    =========================================================


    -------------------------------------------------
    TESTED IN SOAP >> WORKING



    ------------------------------
    Mohamad Sariman
    ------------------------------


  • 2.  RE: How to create a swagger call to get an auth token in BAW

    Posted Tue May 23, 2023 06:04 AM

    Hi Sariman - were you able to make that authentication successful for your Swagger integration in BAW?

    I am using BAW19.x. Trying for a Swagger(json) integration but its failing authentication.

    User/pwd which accept for authentication, it has to be admin user or normal?

    Regards,
    Deba



    ------------------------------
    Debabrata Singh
    ------------------------------