Any call to Jira REST API with jwt in the query string results in a 401 response.
Changes
Removes request_path method which overrides the base class implementation to include the jwt query param in the request URL. Now for :jwt auth there is no customization for the url
Adds JWT generation before calling the original make_request and make_multipart_request. The logic for JWT generation is exactly the same as for the current version
Removes spec for JwtUriBuilder because the class was removed and the spec didn't test anything specific to JTW generation itself
Context
JWT in the query string is not supported anymore by Jira REST API. https://developer.atlassian.com/changelog/#CHANGE-995
Any call to Jira REST API with
jwt
in the query string results in a401
response.Changes
request_path
method which overrides the base class implementation to include thejwt
query param in the request URL. Now for:jwt
auth there is no customization for theurl
make_request
andmake_multipart_request
. The logic for JWT generation is exactly the same as for the current versionJwtUriBuilder
because the class was removed and the spec didn't test anything specific to JTW generation itselfAll specs passes: