Creating Custom Login Assist Files

Custom Login Assist files are useful to enable automatic logins to internal Web sites (such as intranet and company portal sites) but can also be used for external sites as well.

End users may not create Login Assist files. Login Assist is enabled on a profile basis by administrators.

Before Creating the File

You will need the following before creating a Login Assist file.

  • An XML editor. (You should be familiar with reading and writing HTML and XML tags before creating a custom Login Assist file.)
  • The source code of an HTML login page. (The HTML page may not have a popup login dialog. In addition, Flash and other styles of login page are not supported.)
  • The URL of the site’s login page.
  • The Login Assist display name. This is the site name that you choose to display in the Login Assist page of the Open Mobile Portal. The display name must be unique across all Login Assist entries.

You can either edit one of the sample XML files supplied or create a new XML file from scratch. However, it is strongly recommended you examine the sample XML files and edit them as needed for your own requirements.

Setting the XML Tags

Determine the credentials used for site login by examining the source HTML of the login page. Typically, the site will prompt for a username, password, and possibly other credentials, and may include a button to submit credentials.

The values of for two tags, <AutoLogin> and <HTMLControl>, must be set for the page. One <HTMLControl> tag must be set for each HTML control on the page. Other optional tags may also be included in the XML, but are not necessary.


The <AutoLogin> tag includes general information about the site, and encloses all other tags. It has these attributes:

  • url: Complete URL of the site (for example,
  • displayName: Name displayed in the Login Assist library.


The section specifying all HTML controls is enclosed by the <HTMLControls> tag.

To determine proper syntax for a given Web page, note the HTML tags for any of the credential prompts on the page, including the attributes of the tag. For example, here is an HTML tag showing a Username entry box.

<INPUT type="text" name="Username" value="" size="15" maxlength="20" tabindex="1" autocomplete="off" id="username" form="LoginForm">

In this example, the Username entry box is a text box, with the id of username, and is part of an HTML form named LoginForm. (Other HTML attributes, such as size and maxlength, are likely to be found in the HTML control, but may be ignored.)

Then, each individual control on the page (username, password, and so on) will receive its own entry in the <HTMLControls> section, each of which must be enclosed by the tag <HTMLControl>.

For most controls where Open Mobile will pass the user credentials, each <HTMLControl> tag must include a sub-tag, <Account>, which points to the Open Mobile account definition used to store the credentials. The <Account> tag needs a further sub-tag, <AccountField>, which indicates the field in the account definition used to store the credentials.

A complete <HTMLControl> tag for the username control shown above, based on the attributes in the HTML tag, would be as follows:

<HTMLControl type="text" id="username"  formname="LoginForm">
<Account name="ExampleAccount">

This tag would pass the username to the site, after drawing the credentials from the Username field in the ExampleAccount account definition.

Attribute values for each <HTMLControl> XML tag correspond to those in the HTML source of the actual login page.

typeValid values are text(text entry box), password (password entry box), checkbox (control is a checkbox), submit (used for a button to send credentials to the site, script, autosubmit (used for a button to send credentials to the site when auto-submit is turned on), hidden (control is hidden).
idActual identifier of the HTML control, taken from the HTML source.
action(Used only if Type is auto-submit.) This is the action taken by the submit button. If a URL, the results are sent to the URL.
formnameForm name of the control, taken from the HTML source.

Domain Field

Some account definitions include the Domain field as a credential type. The Domain field (for example, may not passed to a login page using Login Assist.


Auto-Submit for Login Assist is enabled by an <HTMLControl> tag with a type of autosubmit. However, instead of an id attribute, an action attribute is specified. No <Account> or <AccountField> tags are necessary if the attribute type is autosubmit.

For example, this tag would auto-submit credentials to

HTMLControl type="autosubmit" action="" formname="LoginForm"/>

Literal Values

Some sites include prompts for credentials that are shared across an entire user base. For example, a login page could include a prompt for Company ID, which would be the same for all users from the same company.

To populate a control with a pre-set value, enclose the value after the <HTMLControl> tag inside the <Literal> tag. Literal values will be pre-filled for all users with the same Open Mobile profile. No <Account> or <AccountField> tags are necessary if a literal value is specified. For example, the login page for a Web site includes entry boxes for Username, and Password and Customer Code. The user is intended to enter an individual username and password, but Customer Code is the same for all users from the same company. In the HTML source for the login page, the Customer Code box has an ID of customer_code. As part of a Login Assist file, this tag for the Customer Code control would pre-fill ‘’ in the Customer Code box.

<HTMLControl type="text" id="customer_code"  formname="formName">

Creating the File

To modify one of the sample Login Assist files:

  1. Make sure an account is created (or selected) for the site that reflects the required login credentials.
  2. Open one of the sample files in an XML editor.
  3. In the <AutoLogin> tag, modify the sample URL and display name with your own values.
  4. Locate the <HTMLControl> tag corresponding to the username box, and modify the attribute values as needed.
  5. Repeat Step 4 for the password entry box, and then each other credential entry box.
  6. Enter or edit an Auto-Submit tag, if desired.
  7. Save the results as an XML file.

After the file is created, you can add it to an Open Mobile profile.

Adding the Login Assist File to a Profile

To add a custom Login Assist file to a profile:

  1. Prepare your Login Assist XML file.
  2. In the Open Mobile Portal, open the profile for editing.
  3. On the Login Assist page, click Add New Application.
  4. On the Add Application dialog, click Browse, and then browse to the location of your XML file.
  5. Click Upload. The XML file is added to your profile.

Unlike a Login Assist preset, a custom Login Assist entry is automatically enabled in the profile. In order to remove it from a profile, it must be deleted from the Open Mobile Portal.

To delete a custom Login Assist file from a profile:

  1. In the rotating list of Login Assist entries, select the custom Login Assist entry you wish to delete.
  2. Click Delete.

Go to: Open Mobile for Windows > Login Assist


©2015 iPass Inc. All rights reserved. Terms of Use