[ZBX-23964] api_scim.php authentication bearer case sensitive Created: 2024 Jan 19 Updated: 2025 Feb 13 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 6.4.10, 7.0.0alpha9 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Major |
Reporter: | A.J. Goedhart | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Tested at VM installation with apache |
Description |
Steps to reproduce:
Result: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"Not authorized.","status":403}Expected: Result: {"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"totalResults":0,"Resources":[]}According to [HTTP Protocol specification| |
Comments |
Comment by Paul [ 2024 Aug 13 ] |
Reproduced the same issue on 7.0.2 |
Comment by Matthieu Berthomé [ 2025 Feb 13 ] |
I have the same issue, found it trying to call the API behind haproxy is not compliant with HTTP specs (the getallheaders function returns a case sensitive array) |