zalando-stups / planb-tokeninfo

Plan B Token Info service for JWT tokens
http://planb.readthedocs.org/
Other
17 stars 8 forks source link

Update to jwt-go 3.0.0 #67

Closed vroldanbet closed 8 years ago

vroldanbet commented 8 years ago

The build is failing because incompatible changes have been introduced in jwt-go 3.0.0.

revoke/revokeprovider.go:109: invalid operation: j.Claims["iat"] (type jwt.Claims does not support indexing) revoke/revokeprovider.go:113: invalid operation: j.Claims["iat"] (type jwt.Claims does not support indexing) revoke/revokeprovider.go:140: invalid operation: j.Claims[n] (type jwt.Claims does not support indexing)

See https://github.com/dgrijalva/jwt-go/blob/master/MIGRATION_GUIDE.md