jmpsec / osctrl

Fast and efficient osquery management
https://osctrl.net
MIT License
387 stars 51 forks source link

Using RegisteredClaims in JWT to avoid deprecated code #503

Closed javuto closed 2 months ago

javuto commented 2 months ago

jwt.StandardClaims is deprecated so using jwt.RegisteredClaims instead. Also passing the token issuer as parameter.