Forums

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

How to switch SAML from the primary to the secondary authentication method in Jira Database

Allan Margono July 23, 2018

There was SAML config error on Jira and now cannot login due to SAML was selected as the primary login. Is there a way to switch SAML from the primary to the secondary authentication method in Jira Database similar like in Confluence? I used the following Rest API to delete the SAML config, but it didn't work. curl -u admin_user:admin_password -X DELETE http://base-url/*ContextPathIfAny*/rest/authconfig/1.0/saml I used Data Center version 7.8.0 and disabled all nodes except for one. Appreciate any pointers and help.

1 answer

1 accepted

1 vote
Answer accepted
Edwin Kyalangalilwa
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.
July 23, 2018

Hi @Allan Margono,

That command should work. Please share the command you're actually using.

Confirm that you are making the necessary changes to the URL that is provided.

If for example URL is jira.atlassian.com

https://jira.atlassian.com/rest/authconfig/1.0/saml

if URL is jira.atlassian.com/jira

https://jira.atlassian.com/jira/rest/authconfig/1.0/saml
Allan Margono July 23, 2018

Thanks, I have a wrong syntax in the cmd, forgot to remove the "ContextPath"

Using the following cmd work for me:

curl -u admin_user:admin_password -X DELETE https://base-url/rest/authconfig/1.0/saml

Suggest an answer

Log in or Sign up to answer