How to change Confluence application login URL

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  1. Open seraph-config.xml file located in $CONFLUENCEINSTALL/atlassian-confluence/WEB-INF/classes directory
  2. 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}&amp;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>
  3. Restart Confluence

Notes

(warning) If anonymous access is enabled in your Confluence instance (Setting Up Public Access), this functionality will not work. 

Related issues

Last modified on Nov 29, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.