JIRA to accept cookies to be used in Jira requests
Description
Currently Jira service only supports username/password authentication limiting the usability of the integration. For instance, I have a use case where Jira is running behind Oracle's WebGate and each request is sent to Oracle Access Manager for authentication. In order to enable HTTP Basic auth, one needs to pass a cookie OBBasicAuth=fromDialog
which then triggers 401 and accepts Authorization: basic
header.
Proposal
The underlying library jira-ruby from version 1.4 supports adding a list of cookies to each Jira request. Gitlab from version 10, already uses jira-ruby 1.4. This proposal is about exposing the ability to specify user defined list of cookies to be added to each request
Links / references
This ticket might be a first step to implementing #28172 (moved).