From e2d303f666ec63ed425fcf35f006d738adf604d0 Mon Sep 17 00:00:00 2001 From: Peter Kieltyka Date: Thu, 6 Jul 2017 16:39:18 -0400 Subject: [PATCH] Add dependency note in README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 92dfb6f..424df8a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ jwtauth - JWT authentication middleware for Go HTTP services The `jwtauth` http middleware package provides a simple way to verify a JWT token from a http request and send the result down the request context (`context.Context`). +Please note, `jwtauth` works with any Go http router, but resides under the go-chi group +for maintenance and organization - its only 3rd party dependency is the underlying jwt library +"github.com/dgrijalva/jwt-go". + This package uses the new `context` package in Go 1.7 stdlib and [net/http#Request.Context](https://golang.org/pkg/net/http/#Request.Context) to pass values between handler chains. In a complete JWT-authentication flow, you'll first capture the token from a http