diff --git a/gso/auth/oidc_policy_helper.py b/gso/auth/oidc_policy_helper.py index 34eeede9e310a03b9774d619d6d7a7ab58a50231..1ba2eb3b8cdb3db63babe30beabf2c6186e3ae3c 100644 --- a/gso/auth/oidc_policy_helper.py +++ b/gso/auth/oidc_policy_helper.py @@ -425,7 +425,7 @@ def opa_decision( **(opa_kwargs or {}), **user_info, "resource": request.url.path, - "method": request_method, + "method": request_method.upper(), "arguments": {"path": request.path_params, "query": {**request.query_params}, "json": json}, } }