Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,328,572
Community Members
 
Community Events
168
Community Groups

Enable SSO Auth Fallback Using REST API

Edited

Hi, 

I've been trying to enable authentication fallback using curl as mentioned Bypass SAML auth

However, PUT request doesn't work. I am getting "405 Method not allowed" I checked the REST API documentation I couldn't find anything related to the authconfig endpoint.

I was able to enable it through the database directly but I want to do it through the API instead. However, the flag is different in the database 

latest version: 

 com.atlassian.plugins.authentication.sso.config.enable-authentication-fallback

as opposed to previously:

com.atlassian.plugins.authentication.samlconfig.allow-saml-override'

 

The response from the GET request to this <BASE_URL>/rest/authconfig/1.0/sso is:

{    
"show-login-form"false,    
"enable-authentication-fallback"false,    
"show-login-form-for-jsm"true,    "last-updated""
}

 

How can enable it through the REST API? 

 

1 answer

1 accepted

0 votes
Answer accepted

Solved - it should be a PATCH request 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events