This repository was archived by the owner on May 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Original file line number Diff line number Diff 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-
272244Help
273245----
274246
@@ -278,6 +250,7 @@ To get assistance, please use the [this page](https://opensciencegrid.org/docs/c
278250References 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 )
You can’t perform that action at this time.
0 commit comments