go-chi / jwtauth

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

Change the jwt package #13

Closed diegobernardes closed 7 years ago

diegobernardes commented 7 years ago

Take a look at https://jwt.io/ Whould be nice to change the jwt package to use github.com/SermoDigital/jose.

pkieltyka commented 7 years ago

Can you elaborate as to why switch from current jwt-go?

On Jan 22, 2017, at 5:50 PM, Diego Bernardes notifications@github.com wrote:

Take a look at https://jwt.io/ Whould be nice to change the jwt package to use github.com/SermoDigital/jose.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

diegobernardes commented 7 years ago

I'm sorry for the hype, was a unnecessary ticket. It's my first time using jwt, was reading about it and when i got into the claims, realized that most of the claims are not implemented in current package, this was why i suggest the move, but they are all optional and isn't that hard to implement.

https://tools.ietf.org/html/rfc7519#section-4.1