lucasarnulphy opened a new pull request, #11444:
URL: https://github.com/apache/apisix/pull/11444

   ### Description
   
   The cas-auth plugin is great, but does not currently support retrieving the 
logged-in user from upstreams, making it really hard to do any kind of access 
control appart from "a user is logged-in".
   
   This PR adds the `set_user_header` and `user_header` attributes that enables 
setting the logged-in user in a header, and allows for the header's name 
customization.
   
   Some users have already asked for it.
   
   As far as backward compatibility is concerned:  The header is set by 
default, so one might experience issues if setting the header before reaching 
apisix... which would make little sense considering apisix handles the 
authentication.
   
   Fixes #9524.
   
   
   ### 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
   - [ ] 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