Skip to content

jakubknejzlik/go-jwks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

JSON Web Key Client

Client code which fetches from a public JWKs endpoint. This client maintains an in-memory cache of keys by id.

Installation

go get github.com/jakubknejzlik/go-jwks

Usage

client := jwks.NewClient("https://yourdomain.auth0.com/.well-known/jwks.json")

// Inside handler func...
key, err := c.GetKey("akdflasjfpoasdkfja")
// Use key to validate JWT...

About

Golang JSON Web Keyset Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%