Can we implement 2 authentication policy in one API using Mule 4? Can this be done using custom policy? We have a use case of implementing oAuth and Basic Auth for the same.
답변 2개
Thanks Anurag. yes, I understand a custom policy is needed basic on basic or bearer that is passed in the header. I am trying to find out how to conditionally trigger the validation of Basic Auth validation or in case of bearer oAuth validate? In case of Oauth, i can use oauth validate token. Where as I am not finding an equivalent for Basic auth.
In mule 3.9, api-platform-gw:validate-client to validate the id/secret.