Layer7 API Management

 View Only
  • 1.  Supporting Multiple Auth Schemes for an API

    Posted May 15, 2020 04:55 PM
    Hello,

    Does anyone have a strategy for supporting multiple authentication/authorization schemes for an API?  For example, if I needed to support both OAuth and Basic Auth.

    Thanks,

    Alejandro


  • 2.  RE: Supporting Multiple Auth Schemes for an API
    Best Answer

    Broadcom Employee
    Posted May 17, 2020 08:36 PM
    You can use At least ... folder, for example,
    -- At least ... folder
      \- require basic authentication
      \- require oauth 2.0 token

    This will try basic authentication first, if basic auth fail, then try oauth.

    Regards,
    Mark