It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to deal with "Failed to parse Connect Session Auth Token"?

Sidrit Reka Jun 25, 2018

I am trying to complete authentication flow with Jira. After following the steps in this link: , I am able to get the access token. The requests I do are:

2)After that I am prompted to the login page in my browser and I successfully grant access.

The url is BaseUrl/plugins/servlet/oauth/authorize?oauth_token={token in the first step}

3)And I get the access token with this request:


Finally I try to make a request to get my issues and I pass the access token to the authorization header like this:
Authorization: Bearer {accesstoken}

And I get 403 error code with the message "{"error": "Failed to parse Connect Session Auth Token"}"
Can someone guide me to a solution for this?

1 answer

1 vote
Valery Lebedz Jul 26, 2018

Have you found an answer to this issue? 

Sidrit Reka Jul 27, 2018

Hi Valery,

Apparently the Jira documentation about this was wrong. We shouldn't use Bearer authentication, but instead try to authenticate with OAuth1 standart.

Like Marco Paiva likes this
Deepak Kumar Nov 02, 2018

@Sidrit Reka Can you please elaborate how to authenticate with OAuth1 standard?

Like # people like this
Admin I'm New Here Apr 18, 2019

@Deepak Kumar  In Python;

You can use HTTPBasicAuth to get access with JIRA API;

Sample code;

# Call JIRA API with HTTPBasicAuth
import json
import requests
from requests.auth import HTTPBasicAuth

JIRA_EMAIL = "****"
JIRA_TOKEN = "****"
BASE_URL = "https://****"
API_URL = "/rest/api/3/serverInfo"


HEADERS = {'Content-Type' : 'application/json;charset=iso-8859-1'}

response = requests.get(

print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))


Thanks :)

Like Syed Mohd Ali Rizwi likes this

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

770 views 7 0
Join discussion

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