Company
Date Published
Author
Ben Greenberg
Word count
860
Language
English
Hacker News points
None

Summary

The Nexmo Ruby SDK has released version 7.2.0, which includes rewritten JSON Web Token generation using the new nexmo-jwt gem to provide users with more flexibility in designing tokens for their specific needs. This feature was previously only available within the SDK and is now accessible to every user. The use of JWTs serves as a secure mechanism for sharing information between machines, with Vonage APIs utilizing them for authentication and communication. A new library, nexmo-jwt, has been created to simplify JWT generation, allowing users to generate tokens both inside and outside of the Ruby SDK. The new release simplifies the process of generating JWTs by eliminating the need for separate parameters and providing default values for expiration and other settings. Users can customize their JWTs with additional parameters such as custom paths, subject, and time-to-live information.