go-chi / jwtauth

JWT authentication middleware for Go HTTP services
MIT License
550 stars 91 forks source link

Fixes 21, to allow the use of RSA signing methods. #22

Closed e-nikolov closed 7 years ago

e-nikolov commented 7 years ago

Changed the expected key type from []byte to interface{} to match the method signatures of jwt-go and added a test

Fixes https://github.com/go-chi/jwtauth/issues/21

pkieltyka commented 7 years ago

thanks for the PR!