-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
1
-
Severity 3 - Minor
-
Issue Summary
If you mistakenly use the API key (used to manage your organization via the Cloud Admin APIs) to authenticate calls against Jira Cloud REST API endpoints, you get below error message in return:
Basic authentication with passwords is deprecated. For more information, see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html
Having a bit more generic/useful error message would be better.
Something like:
Authentication failed. Make sure you are using the email address and API Token (not API Key) to authenticate. For more details see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html
Also, the link returned should explicitly mention the differences between API key and API Token.
Steps to Reproduce
Expected Results
A generic error message saying the authentication failed is returned
Actual Results
A very specific error message about basic authentication with password being deprecated is returned:
Basic authentication with passwords is deprecated. For more information, see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html
Workaround
No workaround.
- is related to
-
ID-7853 Password authentication deprecation error in REST-API uses outdated URL
- Closed
- is superseded by
-
JRACLOUD-82932 Misleading 200 status code when using incorrect credentials in REST API calls
- Gathering Interest
- was cloned as
-
JRACLOUD-82932 Misleading 200 status code when using incorrect credentials in REST API calls
- Gathering Interest
- mentioned in
-
Page Loading...