]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 months agorgw: Remove invalid Content-Type header RGW OIDC discovery requests 66280/head
Jonathan Suever [Fri, 14 Nov 2025 22:36:06 +0000 (17:36 -0500)]
rgw: Remove invalid Content-Type header RGW OIDC discovery requests

RGW sends OIDC discovery and JWKS requests with an incorrect application/x-www-form-urlencoded Content-Type header, causing 415 (Unsupported Media Type) responses from some identity providers including AWS EKS. This PR removes this header for the GET requests as it was a hold-over from a previous change where the endpoint was previously an HTTP POST https://github.com/ceph/ceph/commit/7566664f89be062e0c9f3519dc60b94c8af5e2a4 and was carried through to the current implementation https://github.com/ceph/ceph/commit/803570cd4f7ffbb3d7a329b0b9450748b3ca335d

Fixes: https://tracker.ceph.com/issues/73877
Signed-off-by: Jonathan Suever <suever@gmail.com>
3 months agoMerge PR #65715 into main
Patrick Donnelly [Fri, 14 Nov 2025 17:09:40 +0000 (12:09 -0500)]
Merge PR #65715 into main

* refs/pull/65715/head:
common/compat: resolve signedness warnings
common/compat: resolve unused label warnings

Reviewed-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>