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"?

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

Have you found an answer to this issue? 

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 1 person likes this

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

Like 5 people like this
Admin I'm New Here Thursday

@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 :)

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 Oct 09, 2018 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 ...

501 views 6 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you