I am developing an integration on my Ruby On Rails app to Fireblocks, following the information here. However I would like to know if anyone have alternatives like APIs for Ruby, or some starting point?
I have checked this project on github, but it’s very old and not compatible with the latest version of the API.
Anyone has any hints of how to start on authentication in Ruby?
A good starting point can be reviewing how the official SDKs create the JWT object. You can find the implementation in Python here and in JavaScript here. I’m also seeing that the 3rd-party Ruby project implements the JWT creation in the token.rb file.
Just out of curiosity, is there a reason you would prefer to build a Ruby integration rather than use the official SDKs? Thanks!
I found another source that may help, using openapi-generator.tech, and generating ruby code, but I am still strugling with JWT generation.
I would love to use something else, but my legacy tokenization app is built on RoR. There is an internal company project for porting it to another language in the future, but its quite huge, so it will take a while, when we have priority for switching.
For now, my only option is to stick to Ruby, or maybe build a nodejs middleware.