SAML authentication plugin automatic install

Are there any ways to setup settings for SAML authentication plugin (plugin already exists / install automatically)?
Or only manually via Web-console? ( ). Other tricky ways? :slight_smile:


Can I set these keys in conf/ file? Is it correct?

Checkout this topic I found by searching โ€œ SAMLโ€ on this forum


Thanks for your reply, but i have more questions:
I use curl to set up this setting:

# Auth and Get cookies 
curl -c /tmp/cookies -X POST -i 'http://sonarqube.localhost/api/authentication/login' --data 'login=admin&password=admin'
# Set up parametrs:
curl -b /tmp/cookies -X POST -i 'http://sonarqube.localhost/api/settings/set' --data 'key=sonar.auth.saml.enabled&value=true'

But there are no changes occur :frowning:

I hooked an HTTP packet:

POST /api/settings/set HTTP/1.1
Host: sonarqube.localhost
User-Agent: curl/7.58.0
Accept: /
Cookie: JWT-SESSION=eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJBV2xYajlpQUozOUVOcFdTQk5YdCIsInN1YiI6ImFkbWluIiwiaWF0IjoxNTUxOTUyMjM4LCJleHAiOjE1NTIyMTE0MzgsImxhc3RSZWZyZXNoVGltZSI6MTU1MTk1MjIzODcyMCwieHNyZlRva2VuIjoibmk0MW0zdDZndWxmcTNxcms3MzVwNXI5YzkifQ.yCA83d9Kng8u8beDz-z4Izd-m1Q1RdzuEEovAbdJUgc; XSRF-TOKEN=ni41m3t6gulfq3qrk735p5r9c9
Content-Length: 38
Content-Type: application/x-www-form-urlencoded


It is similar to the packet from browser, exluding some http headers.
What do I wrong?