Fix casing typo in OPA rego example for Authorization

This commit is contained in:
Simon Leet 2021-08-18 15:41:43 -07:00
parent 63a6b4732e
commit 1bf2d215e9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ spec:
my_claim := jwt.payload["my-claim"]
}
jwt = { "payload": payload } {
auth_header := input.request.headers["authorization"]
auth_header := input.request.headers["Authorization"]
[_, jwt] := split(auth_header, " ")
[_, payload, _] := io.jwt.decode(jwt)
}