mirror of https://github.com/dapr/docs.git
Fix casing typo in OPA rego example for Authorization
This commit is contained in:
parent
63a6b4732e
commit
1bf2d215e9
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue