We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CheckJWT makes a shallow copy of the inbound request near the end of the function in order to set a new context.
In the context of reverse proxies, this can cause trouble. See golang/go#20068 and golang/go#23544.
The preferred way to modify the context of an inbound request is net/http.Request.Clone.
The text was updated successfully, but these errors were encountered:
We just released the v2.0.0-beta 🥳 !
You can start testing it by running go get github.com/auth0/go-jwt-middleware/v2@v2.0.0-beta.
go get github.com/auth0/go-jwt-middleware/v2@v2.0.0-beta
In case of issues fetching the v2 you might want to try go clean --modcache first before doing go get.
go clean --modcache
go get
I'm closing this issue as now this is part of v2, but feel free to reopen if needed.
Sorry, something went wrong.
.Clone
.WithContext
jfatta
Successfully merging a pull request may close this issue.
CheckJWT makes a shallow copy of the inbound request near the end of the function in order to set a new context.
In the context of reverse proxies, this can cause trouble. See golang/go#20068 and golang/go#23544.
The preferred way to modify the context of an inbound request is net/http.Request.Clone.
The text was updated successfully, but these errors were encountered: