Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 910 Bytes

File metadata and controls

33 lines (22 loc) · 910 Bytes

Tokens

These commands are used to obtain and interact with tokens.

Verify a JWT

This command is used to see if a JWT-formatted token is valid or not.

Client requirements: 3️⃣ if using the --introspect flag

Examples:

$ deno task run token verify __JWT_GOES_HERE__

# Call the introspection endpoint for the authorization server
$ deno task run token verify __JWT_GOES_HERE__ --introspect

# Get an access token and see the contents
$ deno task run token verify $(deno --quiet task run token get client --output access_token)

Decode a JWT

This command is used to see the contents of a token without checking whether a token is valid or not.

Examples:

$ deno task run token decode __JWT_GOES_HERE__