Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Yesterday. we were testing configuring SAML 2.0 in our Jira Data Center 8.2. We were not successful and thought we were very careful to ensure we had selected "Use SAML as secondary authentication" selected until we were successful, but had run some tests where we had it set as primary (and leaving the session open.)
It appears to me that the configuration was last saved with "Use SAML as primary authentication" selected but it is failing. We are essentially locked out.
Is ther some way of setting "SAML Authentication to secondary" or change the SAML 2.0 to "Use Login Form" instead of SAML Single Sign-on or somehow to force an interactive user logon?
In this:
I saw this:
If you make a mistake configuring the SAML authentication, or are unable to log in using your IdP, you can restore login form authentication by using issuing a DELETE request (using a username and password for an administrator configured in your user directory):
curl -u admin_user:admin_password -X DELETE http://base-url/product/rest/authconfig/1.0/saml
But I don't understand the context of where this is run. Is this right in my browser or from a command line on the linux machine?
You need to run this from a terminal command line / basically a machine which has curl installed. (What is curl - https://dev.to/ibmdeveloper/what-is-curl-and-why-is-it-all-over-api-docs-9mh)
It basically does a REST API call to remove the SAML Config. After that you should be able to login again.
Cheers,
Christian
Thanks! A more tech savy member of our team knew what to do with this when he came in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am, getting "Forbidden (403)" error when I try to disable SSO using the curl command
curl -u "localadmin_username:localadmin_password" -X DELETE -k https://jiraurl/product/rest/authconfig/1.0/saml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Best way is to use the fallback URL. From there you can change your configuration as needed. Much more simple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.