Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Using email/API key, but still receiving "Basic authentication with passwords is deprecated" error


Hi Team,


I am in the process of updating our company's basic authentication with user/password to email/API key.


According to this (, I should be able to update the username with an email and the password with an API key and make this request successfully:

curl -v https://<company> --user <user>@<company>.com:<b64key>


This request fails with this error:

* Server auth using Basic with user '<user>@<company>.com'
> GET / HTTP/1.1
> Host: <company>
> Authorization: Basic <removed>
> User-Agent: curl/7.64.1
> Accept: */*
< HTTP/1.1 401 Unauthorized
< Date: Wed, 22 Jun 2022 23:10:14 GMT
< Content-Type: text/plain
< Server: globaledge-envoy
< X-Envoy-Upstream-Service-Time: 1
< Expect-Ct: report-uri="", max-age=86400
< Strict-Transport-Security: max-age=63072000; preload
< X-Content-Type-Options: nosniff
< X-Xss-Protection: 1; mode=block
< Atl-Traceid: 29224f439162d46d
< Report-To: {"group": "endpoint-1", "max_age": 600, "endpoints": [{"url": ""}], "include_subdomains": true}
< Nel: {"report_to": "endpoint-1", "max_age": 600, "include_subdomains": true, "failure_fraction": 0.001}
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
Basic authentication with passwords is deprecated. For more information, see:
* Connection #0 to host <company> left intact
* Closing connection 0



What do I need to do to make the example request work?


Thank you!

1 answer


I don't quite understand the request.

Is it possible to give a little more detail on the need?

Hi Morgan,


In the last several months, basic authentication using a username and password has been deprecated in favor of using an email address with an API token. 


According to this article (, the only thing that needs to be updated are the credentials, and that the following request should be able to be made successfully:

curl -v https://<company> --user <user>@<company>.com:<b64key>


However, running this request results in this error:

Basic authentication with passwords is deprecated. For more information, see:


What do I need to do to make requests using an email address and an API token? 

You can look at the following documentation :

Available for further explanation



I have already looked at that article (and linked to it in both my reply and my original post). 

This is not a problem with API usage, it is a problem with migrating from the deprecated authentication scheme using username/password to the new scheme which uses email/API key.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

76 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you