Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21: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.
×Hello,
we use SAML 2.0 Single Sign-On for Confluence (bitium) with Confluence 5.10.8.
Is it possible to change Saml configurations via script, CLI or Rest API on confluence backend server? We want for example enable or disable the option "Force SSO login" .
Thanks
Vimalavong
Unfortunately I can't find the settings in the database and also in files.
Where are the settings written?
It took me about two minutes to find the settings in the database. Here is what I did:
Installed the add-on.
"Configured" it with some values that i could later search for.
I set the UID Attribute to "blablabla"
Dumped the datbase "mysqldump -p jiradb > /tmp/jiradb.sql"
grep blablabla tmp/jiradb.sql
Found the table: propertystring "INSERT INTO `propertystring"
Amswer: The settings are found in the database: table propertystring
-Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
the settings were finally found in the database:
at Confluence:
select * from BANANA where bandanakey like '% saml%';
at Jira:
select * from propertyentry where property_key like '% saml%';
Thank you for your help,
Vimalavong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @b
I guess the setting would either reside in the database or in a file on the server, so my guess is that this is possible to script.
-Lars
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.