diff --git a/README.md b/README.md index 2f117c9..94597a7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ jwtauth - JWT middleware for Go 1.7+ HTTP services The `jwtauth` middleware is a simple way to verify a JWT token from a request and send the result down the request context (`context.Context`). +**NOTE:** `jwtauth` requires [v2.7.0](https://github.com/dgrijalva/jwt-go/tree/v2.7.0) of the +`github.com/dgrijalva/jwt-go` dependency. Please make sure to vendor the correct version +into your project. There is a PR https://github.com/goware/jwtauth/pull/8 to support v3.0.0, +and it's quite close, but it needs another review after recent updates to jwt-go. + This package uses the new `context` package in Go 1.7 also used by `net/http` to manage request contexts.