Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication failure due to BSAFE layer when accessing TM4J API’s

Vijay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 6, 2019

In my current organization i have a layer of authentication called BSAFE.

Credentials to login to JIRA and  BSAFE are same.

TM4J API Request Details:

https://jira.xxxxx.com/rest/atm/1.0/testcase/xxxx-T41

Simple Get Call with below two request headers 

header1 -> "Authorization", "Basic ...."
header2 -> "Cookie", "OBBasicAuth=fromDialog"

Response :

Company specific HTML page asking to login with BSAFE (Employee Self Service Login) 

JIRA API Request Details:

https://jira.xxxxx.com/rest/api/2/issue/xxxx-1205

Simple Get Call with below two request headers 

header1 -> "Authorization", "Basic ...."
header2 -> "Cookie", "OBBasicAuth=fromDialog"

 

Response :

Jira ticket details showing in json format

 

My Observations/Assumption: 

Every API call for JIRA and TM4J need a cookie named ObSSOCookie on company specific domain.

JIRA API's are able to generated ObSSOCookie from basic OAuth and appending it for every call from API.

 

TM4J API's are unable to generated ObSSOCookie from basic authentication

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events