nic-6443 opened a new pull request, #13832:
URL: https://github.com/apache/apisix/pull/13832

   ### Description
   
   `ldap-auth` decodes the username and password from the `Authorization` 
header, binds to the directory with them, and then forwards that header to the 
upstream as it arrived. LDAP credentials are usually the organisation-wide ones 
and reusable well beyond the API being called, so handing them to every 
upstream behind the gateway is worth being able to turn off — `basic-auth`, 
`jwt-auth`, `key-auth` and `hmac-auth` all have `hide_credentials` for exactly 
this.
   
   This adds the same option to `ldap-auth`, defaulting to `false` so existing 
routes behave as before.
   
   #### Which issue(s) this PR fixes:
   
   N/A
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [x] I have added tests corresponding to this change
   - [x] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to