mirror of
https://github.com/rclone/rclone.git
synced 2026-10-28 14:28:38 -04:00
jwt v5 removes StandardClaims so use RegisteredClaims instead. v5 sends a single audience as an array of strings, so the audience is overridden in boxCustomClaims to keep sending it as a string as before. This adds a test which checks the JWT assertion sent to the token endpoint is identical to the one sent with jwt v4.