It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to change Saml configurations via script?

b Jan 22, 2018


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" .

2 answers

2 accepted

0 votes
Answer accepted
Lars Olav Velle Jan 22, 2018

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. 



b Jan 22, 2018

Hi @Lars Olav Velle,
I also suspected that. But I need the info as I can access it.
Maybe someone has already done that.


0 votes
Answer accepted
b Jan 25, 2018

Unfortunately I can't find the settings in the database and also in files.
Where are the settings written?

Lars Olav Velle Jan 25, 2018


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


b Jan 25, 2018

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,

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,252 views 7 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you