While making the the following call
curl -v -H "Authorization: Basic base64encodeduseridpasswordgohere" -X GET -H "Content-Type: application/json" https://jira-stage.myserver.com/rest/api/2/issue/createmeta
I'm getting the 401 response back. The authentication works fine on browser. The same curl call works fine on different Jira server. Does this mean basic authentication is not supported on "jira-stage.myserver.com".
I've a connector application that uses basic authentication to synchronize data between Jira and another application so need to get basic authentication working for this instance.
HTTP/1.1 401 < Date: Mon, 21 Sep 2020 17:51:37 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.4.16
X-AREQUESTID: 651x213257x1
X-ANODEID: jira_dfw9_2
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-Seraph-LoginReason: AUTHENTICATED_FAILED
WWW-Authenticate: OAuth realm="https%3A%2F%2Fjira-stage.myserver.com"
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Set-Cookie: NSC_mc-306476464-1-310090117=ffffffff0926324b45525d5f4f58455e445a4a4229a0;expires=Tue, 22-Sep-2020 17:51:38 GMT;path=/;httponly