Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-68026

Make the /rest/auth/1/session endpoint accept API token instead of password

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Obsolete
    • None
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When generating a cookie via the endpoint /rest/auth/1/session, it'd be interesting to be able to provide the API token generated at https://id.atlassian.com in the body of the request instead of the user's password. Example call being:

      curl -D- --silent --cookie-jar "myCookie" -H "Content-Type: application/json" -d '{"username": "<user>", "password": "<API_Token_here>"}' -X "POST" "https://instance.atlassian.net/rest/auth/1/session"

      This would help customer to avoid stressing the server with basic auth using tokens. But instead they could generate one without having to use their passwords.

              Unassigned Unassigned
              epereira@atlassian.com bpevandro (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: