-
Bug
-
Resolution: Fixed
-
Low
-
3
-
Severity 3 - Minor
-
Summary
With the introduction of Atlassian Accounts, customer have to log-in using their email address as their username.
However, there is something in Confluence that prevents the email address to be used to successfully authenticate REST API calls.
Environment
Version 1000.85.3
Steps to Reproduce
- use curl to send a REST request to any endpoint in Confluence sending -u myEmail:myPassword:
curl -u EMAIL:PASSWORD https://INSTANCE.atlassian.net/wiki/rest/api/content/
Expected Results
The request is successfully authenticated and you get the REST response back
Actual Results
Confluence rejects the credentials and you get error 401 unauthorized
Workaround
Use the username to authenticate the REST requests (you can see it in the user management section of your Confluence instance):
curl -u USERNAME:PASSWORD https://INSTANCE.atlassian.net/wiki/rest/api/content/
- relates to
-
ID-6230 Atlassian Account ID does not work with JIRA REST API - Basic authentication
- Closed