From b2423e4544eed3f0c1950d827e508c1e71cbf353 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Mon, 26 Oct 2026 12:32:48 -0400 Subject: [PATCH] docs(wiki): use placeholders for the example JWT and bearer token in the Tokens and Webhooks pages --- .github/wiki/plugins/Tokens.md | 10 +++++----- .github/wiki/plugins/Webhooks.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/wiki/plugins/Tokens.md b/.github/wiki/plugins/Tokens.md index 5ffcaf18c..ee8ab4c71 100644 --- a/.github/wiki/plugins/Tokens.md +++ b/.github/wiki/plugins/Tokens.md @@ -179,7 +179,7 @@ nself plugin tokens issue \ ### Validate Token ```bash nself plugin tokens validate \ - --token "eyJhbGc..." + --token "" ``` ### Revoke Tokens @@ -262,7 +262,7 @@ Body: Response: ```json { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyMTIzIiwiY2lkIjoidmlkZW80NTYiLCJ0eXAiOiJwbGF5YmFjayIsImV4cCI6MTcwNjEyMzQ1NiwiaWF0IjoxNzA2MTE5ODU2LCJwZXJtIjp7InF1YWxpdHkiOiI0SyJ9fQ.signature", + "token": "", "expiresAt": "2025-01-24T13:00:00.000Z", "tokenId": "550e8400-e29b-41d4-a716-446655440000" } @@ -277,7 +277,7 @@ Headers: X-App-Name: primary Body: { - "token": "eyJhbGc...", + "token": "", "contentId": "video456", "ipAddress": "192.168.1.100" } @@ -652,7 +652,7 @@ curl -X POST http://localhost:3021/api/issue \ # Response { - "token": "eyJhbGc...", + "token": "", "expiresAt": "2025-01-24T13:00:00.000Z", "tokenId": "550e8400-..." } @@ -662,7 +662,7 @@ curl -X POST http://localhost:3021/api/validate \ -H "Content-Type: application/json" \ -H "X-App-Name: primary" \ -d '{ - "token": "eyJhbGc...", + "token": "", "contentId": "video456" }' diff --git a/.github/wiki/plugins/Webhooks.md b/.github/wiki/plugins/Webhooks.md index 448fe40c0..a6b98f23c 100644 --- a/.github/wiki/plugins/Webhooks.md +++ b/.github/wiki/plugins/Webhooks.md @@ -1134,7 +1134,7 @@ curl -X POST http://localhost:3403/api/endpoints \ "description": "Partner API integration", "events": ["*"], "headers": { - "Authorization": "Bearer partner-api-token", + "Authorization": "Bearer ", "X-Partner-ID": "partner-123", "X-Environment": "production" }