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.
Actually they stopped the cookie based authentication. You can try to do another type of authentication
https://blog.developer.atlassian.com/app-opt-in-api-migration/
Yes confirmed that this is a feature:
The following Jira Cloud REST API endpoint will be removed:
/rest/auth/1/session
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also getting same issue
{
"errorMessages": ["Login failed"],
"errors": {}
}
Is it JIRA server issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.