# Redirecting the User to a Specific Login Page and Landing Page

The administrator can modify the login page and landing page for the users after they configure an Identity Provider (IdP) for SAML authentication.

## Redirect User to Login Page For Authentication

You can direct users to the IdP login page. By default, after you configure an IdP for SAML authentication, users are directed to the login page when they enter the Commvault URL in the browser address box.

### Procedure

1. On the Command Center computer, go to software_installation_directory/Apache/webapps/ROOT.

2. Open the index.jsp file in a text editor.

3. On the following line, replace `content="0;url=commandcenter` with `content="0;url=IDP_URL`.

       <meta http-equiv="refresh" content="0;url=commandcenter" />

### What to Do Next

Every time you update or upgrade the Commvault software, you must perform this procedure again.

## Redirect User to Landing Page After IdP Initiated Login

You can change the default landing page that appears soon after you log on to the Command Center.

### Procedure

1. To the Command Center computer, add the customDefaultApp additional setting as shown in the following table.

   For more information about adding an additional setting from the CommCell Console, see Adding an Additional Setting from the CommCell Console.

   Property | Value
   --- | ---
   Name | customDefaultApp
   Category | WebConsole
   Type | String
   Value | Set default application after logging in. The allowed values are adminconsole or webconsole. For example, to set the default app to /adminconsole set: customDefaultApp=adminconsole

2. Restart Tomcat services on the Command Center computer.

×

Loading...