Closed agis closed 1 year ago
question Is the
jwt
andminitest
bump dependencies relevant with change in content-type ? Also why we updated the version tobeta2
?
These are only used while developing the gem and doesn't affect the resulting package. The Gemfile.lock
was out-of-date, so I updated it by doing bundle install
. The beta2
was also the result of the outdated Gemfile.lock, but all of these are unrelated to this fix and don't affect the resulting package.
The Backend API supports both form-urlencoded and application/json content types in requests. However, we're slowly fading out support for form-urlencoded and transitioning to application/json.
Most important, the Ruby SDK generated payloads that the Backend API couldn't properly unmarshal, particularly in the case of payloads like the following:
in such cases, the resulting payload would be:
which the Backend API didn't know how to properly parse.
Fixes AUTH-129