]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Remove invalid Content-Type header RGW OIDC discovery requests 66280/head
authorJonathan Suever <653357+suever@users.noreply.github.com>
Fri, 14 Nov 2025 22:36:06 +0000 (17:36 -0500)
committerJonathan Suever <653357+suever@users.noreply.github.com>
Mon, 17 Nov 2025 14:38:54 +0000 (09:38 -0500)
commit1cbca1dbdce5fd1b7dc93c270b29f5c33144b62f
tree7c1ae4497c887d8ce52007dc0804c4d42127b663
parent2d6e2ca0b3a11a36a5dde6d22ebf2933f7803eef
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>
src/rgw/rgw_rest_sts.cc