The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Enable SSO Auth Fallback Using REST API

Reab
April 14, 2021

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 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Reab
April 14, 2021

Solved - it should be a PATCH request 

TAGS
AUG Leaders

Atlassian Community Events