Skip to content
maloquaciousPublic

About

JSON Web Tokens

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonwt

jsonwt is a small, dependency-free Go package for issuing and consuming signed, JWT-shaped tokens in local tools, demos, tests, and trusted internal prototypes. It intentionally provides a narrow API and token format rather than implementing the JWT standard.

Warning: Do not use jsonwt for production authentication, authorization, sessions, or across an untrusted network boundary. Tokens are signed but not encrypted, and the package does not provide key management, revocation, replay protection, or standards compatibility. Read Security and scope before choosing it.

Install

In a Go module, run:

go get github.com/mdhender/jsonwt@latest

The module supports Go 1.17 and later.

Start here

Follow the tutorial and concise user manual to create an HS256 signer, issue a token with an application claim, parse and validate the token, and extract the claim.

Documentation

License

jsonwt is available under the MIT License.

About

JSON Web Tokens

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages