Suddenly jira cookie based authentication stop working.
curl -D- -H "Content-Type: application/json" -c cookie.txt -d '{"username":"***", "password":"***" }' -X POST https://***.atlassian.net/rest/auth/1/session
It used to work previously, but now it returns
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/2 401
server: Atlassian Proxy/1.13.6.2
www-authenticate: JIRA REST POST
www-authenticate: OAuth realm="https%3A%2F%2F***.atlassian.net"
cache-control: no-cache, no-store, no-transform
content-type: application/json;charset=UTF-8
strict-transport-security: max-age=315360000; includeSubDomains; preload
date: Mon, 15 Apr 2019 10:47:45 GMT
atl-traceid: c25b70cfb91d2b34
x-arequestid: adfb702c-282d-4646-a971-430ba45a1f0e
x-xss-protection: 1; mode=block
timing-allow-origin: *
x-ausername: anonymous
x-content-type-options: nosniff
set-cookie: atlassian.xsrf.token=BB6S-GXGL-849C-6HQC_dc36c2f633dfe5651d215ae87e331bfe50131bbe_lout; Path=/; Secure
100 119 0 46 100 73 95 151 --:--:-- --:--:-- --:--:-- 246{"errorMessages":["Login failed"],"errors":{}}
What could be the problem here?
PS. Using same creadentials works on Jila login page.