Update go library to use the latest version of the JWT library.
The underlying JWT library had some breaking changes that percolated up to this one:
- jwt.StandardClaims was deprecated in v4 and removed in v5, replaced with jwt.RegisteredClaims. If you referenced AuthenticationToken.StardardClaims directly, then you will have to change that to AuthenticationToken.RegisteredClaims.
- jwt.NewValidationError was removed. Replaced by new errors in the edgecontext library and additional checks in the ParseWithClaims call. This may affect you if you were checking the errors returned by ParseWithClaims, specifically check errors.As against a *jwt.VerificationError. This type was completely removed, so you will need to check against specific errors, either the errors from the JWT library or the new ones added in here.