From a5461b01f3675ae62a8c83715c23dc6065a9657b Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Wed, 23 Sep 2020 18:47:08 +1000 Subject: [PATCH] [MINOR] add payload example for ease of copying (#519) * add payload example for ease of copying Signed-off-by: Sally MacFarlane * edit Signed-off-by: Madeline Murray Co-authored-by: Madeline Murray --- docs/HowTo/Interact/APIs/Authentication.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/HowTo/Interact/APIs/Authentication.md b/docs/HowTo/Interact/APIs/Authentication.md index 252b8c3f..4899316b 100644 --- a/docs/HowTo/Interact/APIs/Authentication.md +++ b/docs/HowTo/Interact/APIs/Authentication.md @@ -162,6 +162,16 @@ Each payload for the JWT contains: * Optionally, the tenant's Orion public key using `privacyPublicKey`. Only used for [multi-tenancy](../../../Concepts/Privacy/Multi-Tenancy.md). +!!! example "Example payload" + + ```json + { + "permissions": ["*:*"], + "privacyPublicKey": "2UKH3VJThkOoKskrLFpwoxCnnRARyobV1bEdgseFHTs=", + "exp": 1600899999002 + } + ``` + The following example uses the [JWT.io](https://jwt.io/) website to create a JWT for testing purposes.