Project

General

Profile

Actions

Bug #53119

open

RadosGW sends X-Auth-Token instead of Authorization header to Open Policy Agent

Added by Benoît Knecht over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
opa
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The token defined in `rgw_opa_token` is being passed to Open Policy Agent in
the `X-Auth-Token` header, but it expects a bearer token in the `Authorization`
header (https://www.openpolicyagent.org/docs/latest/rest-api/#bearer-tokens).

Actions

Also available in: Atom PDF