Bypass the inbuilt Datacenter SAML-SSO in case of problems

FSC SI BTN Atos December 12, 2022

It concerns the Jira, Confluence and Bitbucket dataCenter-versions, with the inbuilt Atlassian SAML-prugin.

Is there a curl-commandline-rule to escape the SAML-login or to jst disable the SAML-login?

This used to be working in the past:

Login to the vm on which the Atlassian-application is running.
At the prompt run the next command (replace <userid>:<password> by the local admin-uid and pwd):

1) For Jira:
curl -u <userid>:<password> -X DELETE http://localhost:8080/rest/authconfig/1.0/sso

2) For Confluence:
curl -u <userid>:<password> -X DELETE http://localhost:8090/rest/authconfig/1.0/sso

1) For BitBucket:
curl -u <userid>:<password> -X DELETE http://localhost:7990/rest/authconfig/1.0/sso

But this does not work anymore. I saw some description on which Postman was used, but I could not get it working.
Please provide me an example of a curl-solution.

1 answer

0 votes
Vedant Kulkarni
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2022

@FSC SI BTN Atos , there are REST calls that help you to do this. You might want to take a look at this doc Bypass SAML authentication for Jira Data Center | Jira | Atlassian Documentation

Suggest an answer

Log in or Sign up to answer