Closed
Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of this SDK and the issue still persists.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
The example in the README as well as (at least) the https://github.com/auth0/go-jwt-middleware/blob/master/examples/http-jwks-example/main.go do not work in the current state of the library.
Reproduction
copy code from readme into main.go
go get github.com/auth0/go-jwt-middleware/v2@latest
go run main.go
results in:
➜ golang-jwks-validation-test git:(main) ✗ go run main.go
main.go:11:2: no required module provides package github.com/auth0/go-jwt-middleware/v2/jwtmiddleware; to add it:
go get github.com/auth0/go-jwt-middleware/v2/jwtmiddleware
Go JWT Middleware version
2.2.0
Go version
1.21