- jwtmw -
WithScopes
middleware support for custom scope checker.
- use github.com/golang-jwt/jwt/v4
- jwtmw - Log errors.
- general examples.
- echo example.
- jwtmw -
WithScopes
middleware to protect endpoints with JWT scopes.
- jwtmw - Enhance context using the
WithContext
opt.
- jwtmw - pass ctx to KeyFunc and.
- jwtmw - support SigningMethod for alg assertion.
- jwtmw - pass http.Request in tokenValidator.
- jwtmw - Package and folder rename (jwt_mw -> jwtmw) for easy import.
- jwtmw - Bug fix where ErrorWriter was ignored.
- Initial version, with an HTTP middleware that extracts, parses and validates JWT tokens.