Skip to content

Commit

Permalink
[MINOR] add payload example for ease of copying (#519)
Browse files Browse the repository at this point in the history
* add payload example for ease of copying

Signed-off-by: Sally MacFarlane <[email protected]>

* edit

Signed-off-by: Madeline Murray <[email protected]>

Co-authored-by: Madeline Murray <[email protected]>
  • Loading branch information
macfarla and MadelineAu authored Sep 23, 2020
1 parent f38eee5 commit a5461b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/HowTo/Interact/APIs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit a5461b0

Please sign in to comment.