How to change Confluence application login URL
Customizations of seraph-config.xml are not covered under the Atlassian Support Offerings.
If you require assistance with such customizations, please reach out on Atlassian Community or to an Atlassian Partner.
Steps to Change Confluence applications login URL
In order to change the login and logout URL, you can change them in seraph-config.xml
:
- Open
seraph-config.xml
file located in $CONFLUENCEINSTALL/atlassian-confluence/WEB-INF/classes directory You will find the following parameters where you can update them accordingly
<security-config> <parameters> <init-param> <param-name>login.url</param-name> <param-value>/login.action?os_destination=${originalurl}&permissionViolation=true</param-value> <!--Replace above line with this for example: <param-value>https://company.sso.com/app/confluence/key/sso/samlRelayState=${originalurl}</param-value>--> </init-param> <init-param> <param-name>link.login.url</param-name> <param-value>/login.action</param-value> <!--Changing the above parameter changes the URL that Confluence redirects to when you click on the "Log in" link in the top right--> </init-param>
Restart Confluence
Notes
If anonymous access is enabled in your Confluence instance (Setting Up Public Access), this functionality will not work.