Skip to content

Commit

Permalink
Sync istio#15691 edited base64 decode command into Chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwu committed Sep 15, 2024
1 parent 7869b4c commit 6e4c5cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Istio 授权策略同时支持字符串类型和列表类型的 JWT 声明。
`requestPrincipal` 属性值为 `[email protected]/[email protected]`

{{< text syntax="bash" expandlinks="false" >}}
$ TOKEN=$(curl {{< github_file >}}/security/tools/jwt/samples/demo.jwt -s) && echo "$TOKEN" | cut -d '.' -f2 - | base64 --decode -
$ TOKEN=$(curl {{< github_file >}}/security/tools/jwt/samples/demo.jwt -s) && echo "$TOKEN" | cut -d '.' -f2 - | base64 --decode
{"exp":4685989700,"foo":"bar","iat":1532389700,"iss":"[email protected]","sub":"[email protected]"}
{{< /text >}}

Expand Down

0 comments on commit 6e4c5cd

Please sign in to comment.