Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Commit 6a8c382

Browse files
committed
Remove "Debugging Tokens" section and add a link to the "Troubleshooting Tokens" section of the client doc
1 parent 3d0c836 commit 6a8c382

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

docs/security/tokens/overview.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -241,34 +241,6 @@ The following collaborations support support file transfer using WebDAV or XRoot
241241
| OSG | N/A |
242242

243243

244-
Debugging Tokens
245-
----------------
246-
247-
Validating a token:
248-
249-
A token must be a _one-line_ string consisting of 3 base64-encoded parts separated by periods (`.`).
250-
You can use the tools in the `scitokens-cpp` RPM to validate a SciToken or WLCG token.
251-
252-
- Run `scitokens-verify <TOKEN>` (where `<TOKEN>` is the text of the token) to validate the token using the issuer.
253-
254-
- Run `scitokens-list-access <TOKEN> <ISSUER> <AUDIENCE>` (where `<TOKEN>` is the text of the token,
255-
`<ISSUER>` is the issuer to verify the token with,
256-
and `<AUDIENCE>` is the server you are using the token to access).
257-
258-
Examining a token:
259-
260-
- Online: paste the token into <https://jwt.io>.
261-
262-
- Offline:
263-
1. Write the token to a file named `tok`.
264-
2. Run `IFS=. read header payload signature < tok`.
265-
3. Run `echo $header | base64 -d` to examine the header.
266-
Run `echo $payload | base64 -d` to examine the payload.
267-
Note: the header or payload may be missing the final padding characters (up to 2 `=` characters);
268-
adding them (e.g. `echo $payload== | base64 -d`) should make base64 stop complaining about "invalid input" or "truncated input".
269-
270-
271-
272244
Help
273245
----
274246

@@ -278,6 +250,7 @@ To get assistance, please use the [this page](https://opensciencegrid.org/docs/c
278250
References and Links
279251
--------------------
280252

253+
- [Troubleshooting Tokens](using-tokens.md#troubleshooting-tokens)
281254
- [OSG Technology - Collaborations and Bearer Tokens](https://opensciencegrid.org/technology/policy/collab-bearer-tokens/)
282255
- [JSON Web Tokens](https://jwt.io) - includes token decoder
283256
- [SciTokens](https://scitokens.org)

0 commit comments

Comments
 (0)