Difference between revisions of "Login Page"

From SmartWiki
Jump to: navigation, search
Line 282: Line 282:
  
 
===Disable External Login Shortcut===
 
===Disable External Login Shortcut===
This function will disable the use of external login shortcut from the URL. '''Because there are security implications to using the external login shortcut (see below), ''''''disabling the feature completely is a good preventative measure.'''
+
This function will disable the use of external login shortcut from the URL. '''Because there are security implications to using the external login shortcut (see below), disabling the feature completely is a good preventative measure.'''
  
 
=====What is the External Login Shortcut?=====
 
=====What is the External Login Shortcut?=====

Revision as of 10:30, 26 June 2019


Construction warning.png Please note that this page is currently under construction. There is more information to come.


Overview

After a User has been added to the system or they have signed up, they will then be able to login to the system through a customizable login page. It is essential to know how to set up and modify a login page as this is the first thing that users will see before gaining access into your instance

  • Generally, the username and password are embedded in the website.
  • Note: Language-specific login pages can be created and can be accessed using a drop-down when a person tries to login.
Example of login page.png

In this above example, the login page consists of numerous components: an actual login section for username and password, a registration button, a privacy and security policies hyperlink, language options, and Branding that customizes the background, logo, and description.

Configuration - Essentials

Creating a New Login Page

1. Click on the 9-square menu icon on the top right of your page.

052919 MenuIcon.png

2. Under the heading Configuration, select Global Settings.

3. Click on the second tab - it will be labelled Branding.

4. Click on the hyperlink for Login Pages.

Finding login pages branding.png

5. The list of login pages available in your system will be displayed; if there are none, this page will be displayed as blank.

List of login pages.png

You will be presented with two tabs:

  • Primary: A list of all configured login pages, including the language name.
  • Alternate: A list of all configured content management login pages, including the alias and ID for that login page.

6. Staying on the Primary tab, click the + icon on the top in order to make a new Login Page.

New login page button.png

Login Screen Content - General

Once you click the icon to make a New Login Page, you will be redirected to the Login Screen Content to modify and format your new login page.

It will open on the first General tab, where settings and formatting can be modified on the right side of the screen, while the left side displays a preview with placeholder variables: 

Settings on left
Preview on right

The following settings are available on the General page:

Language

Select from a drop-down list of languages available that you can change your login page to: 

  • Danish
  • English
  • French 
  • Italian
  • Dutch
  • Portugese
  • Russian
  • Finnish
  • Swedish
  • Vietnamese
  • Turkish
  • Arabic
  • Nepali
  • Hindi
  • Georgian
  • Japanese
  • Traditional OR Simplified Chinese
  • Korean 
Page Title This is the text that appears in the title bar at the top of your browser. By default, this will appear as the alias name of your instance. You can change the text here. To modify other details as well, such as the logo that will appear as a heading for the login page, please see the Branding page.
Content Title A generic content title might be "Welcome to *Company Name*" - this is the text that will appear on the main body of the login page next to the actual login username and password fields.
Content Text This is the text that will appear below the content title. Best practice is to provide a summary of the company or an introduction towards what the user should expect from this site.
Link Section

None - You do not want to display any links on the login page.

Use Routing Page - A routing page created in our system will direct new users to the appropriate signup page. 

Custom URL - Insert an external URL for this link section. 

Link Section Title Add a title that will go above the link from the Link Section. For example, if you used a signup routing page, which is a page that directs new users to the appropriate Signup Page, your title for that link section could be, "New to the System?" 

Page Formatting

Scrolling down on the General Page will then bring you to Page Formatting options: 

Page formatting for login page.png 
Background Image

Upload a background image of your choice to appear as the background of your login page. You may select a file from your computer with the folder icon and upload it with the upwards arrow icon. You can delete any uploaded file with the trashcan icon. 

  • Note: The background image field will only allow you to look up and upload files once you have first clicked the Save button for your new login page.
  • Note: Currently our system only supports background images that are either in .jpg or .png format with a recommended resolution of 1920 x 1080 or higher. 
Background Position Select the position that you want your background image to appear in: Top, Vertical Center, Bottom, Left, Horizontal Center, Right. 
Background Color Select the color you would like your background to have. 
Background Opacity Select the level of opacity you want your background to have, with high opacity being a completely solid image or colour background and low being nearly transparent.
Panel Colour Select the color you would like to have surrounding the text area of your login page. This colour will be contrasted against the background colour if you choose one depending on the opacity. 
Panel Opacity Select the level of opacity you want your panel colour to have.
Font Colour Select the color of the font that will be included in the login page. This will effect all fonts on the page, including the Content Title, Content Text, Link Section Title, and so on.

Routing Page

You can also learn about the Routing Page here. 

Routing page.png 

The configuration options for your routing page include the following:

Button Label The label that will appear on the button on the login page that, when clicked, will direct the user to this Routing Page.
Header Title The header that will appear on the Routing Page.
Introduction Text The introduction text that will appear on the Routing Page.
Trailing Text The text that will appear at the bottom of the Routing Page.
Routing Links

This is a dynamic section that allows for the creation of multiple links on a Routing Page. In order to add a new link, simply click the button. 

  • Title: The title that will appear for the configured link.
  • Description: The description that appears against the configured link. 
  • URL: The URL that the user will be taken to upon clicking on the link. 

The routing page configuration section is intended for those instances that have the following: 

  • Multiple signup pages to register different kinds of organizations and users
  • Multiple signup pages for different languages
  • Multiple eligibility questionnaires for different locations

A routing page will allow for simplified creation and access to multiple pages, guiding the end-user to the correct page from a single login page. A successful routing page might look like the following: 

RoutingPage.png

Template

The third tab from the Login Screen Content is the Template page. Here, you can use the Sample Template button to populate the content of the Rich Editor field, and then modify as necessary. 

Login page template.png

ReCAPTCHA Security

Login pages will automatically enable Google reCAPTCHA functionality in order to ensure security standards. In order to modify or disable this setting, go to Global Settings > Security and scroll down to the bottom of the page. 

Recaptcha.png 

Configuration - Advanced

JavaScript

The following JavaScript can be added to the login page for further customization. 

Forgot Password

HTML: Forgot your password? Please click .
JavaScript: 
function passwdwin(){

window.open('/s_requestpassword.jsp', 'pwdwin',

'left=200,top=200,toolbar=0,width=300,height=214,directories=no,status=no,

scrollbars=no,resizable=no,menubar=no,alwaysRaised=yes');

}

The system-generated email sent to the user after selecting the Forgot Password option can be configured from Email Templates for User Activation and Password

Branch-Specific Forgot Password

This functionality can be used when a user exists in the system multiple times with the same email address, but against different branches (organizations). The configuration means that only the password for the user account under a specific branch will be updated.

HTML: Forgot your password? Please click . 
JavaScript: 
function passwdwin(branch) { 

window.open('/s_requestpassword.jsp?branchid='+branch,'pwdin','left=200,top=200,toolbar=0,width=300,height=214,directories=no,

status=no,scrollbars=no,resizable=no,menubar=no,alwaysRaised=yes');

} 

A login page can be configured with multiple Forgot Password links, each including a different companyid as the parameter. Alternatively, you can create multiple login pages with a single link/companyid included on each page. 

When the user clicks on the Forgot Password link, enters their password, and submits it, then the underlying code will search for the entered email address in the company and all of its sub-organizations. It will then email the password for that branch-specific user account.

  • The email sent can then be configured with Sslogic to tailor the content of the email to the specific branch.
  • The error message displayed on this page when an invalid email is entered can be altered using the Language Library.

Alternate Login Pages

The Alternate tab from the Login Page list view is used to view and create multiple custom login pages for various groups of users within the same system. It uses virtual alias to mask their instance URL

When you click the icon at the top of the Alternate tab to create a New Alternate Login Page, you will be brought to the following form: 

Alternate login pages.png
Login Page Name Name of the virtual alias login page
Description Description of the virtual alias login page
Scope Organization Lookup that allows the virtual alias login page to be restricted to users in the selected organization
Virtual Folder Name User adds a name such as "grants," and then you can direct different users to appropriate logins
Web Alias User enters the alias they want - for example, "gms" - instead of the instance-defined alias
Persistent Cookies Enable or disable persistent cookies. Rather than having to log into SmartSimple each time you open your web browser, a "cookie" can be installed on your computer that will automatically authenticate you, allowing you to bypass the login screen and having to re-enter your credentials. 
Attach User Identifier
Encrypt URL Enable or disable the encryption of the URL
Redirect URL Enter URL for users to be redirected to upon successful login
Primary Role Select from the available system roles to choose the primary default role that a user will have when they log in from this alternate login page. This function is used to force the user to see the correct portal.
Login Type

Select from the drop-down for the three available options: All Users, Activated Users Only, No Access 

User Field This is the field that will be used on the login page to uniquely identify the specific user when they log in. This is typically set to Email Address. 
Password Field This is the field on the login page that will be used to capture the user password when they login.
Login Error Message This is the error message that will appear on the login page after a failed login attempt. 
Login Page Content Insert Sample Template - Click this hyperlink to autopopulate the text window with a sample template for a login page. Otherwise, you can insert in your own customized content. You can use the HTML Editor button at the bottom in order to open a pop-up that displays the content as it will be shown to the user from the HTML. 

Login Security Features

Login security is related to the System Security section of your SmartSimple copy. In order to disable or enable certain security measures relating to the process of logging in and out of SmartSimple, follow these steps: 

1. Click on the 9-square menu icon on the top right of your page.

052919 MenuIcon.png 

2. Under the heading Configuration, select Global Settings.

3. Click on the tab called Security.

4. Scroll down until you see the subheading System Security. 

Many system security features will be listed, with a certain few pertaining to login and logout activity for users. These are outlined in red in the screenshot below, and each explained in greater detail in the subsections. 

Login security.png

Enable Logout

Enabling this function will terminate the session and automatically log out the user when they navigate to a different website, close the browser, or click Logout. 

Disable External Login Shortcut

This function will disable the use of external login shortcut from the URL. Because there are security implications to using the external login shortcut (see below), disabling the feature completely is a good preventative measure.

What is the External Login Shortcut?

This function allows you to bypass Login Page Scripting that you have added to the Login Page. However, this technique should only be used when it is completely necessary because there are numerous security implications: 

  • The URL being opened may be available to other users on the same machine on which you are browsing
  • The URL retrieved from the remote machine may be logged elsewhere (i.e. Proxy Server history, DNS server) 
  • Your browser history may retain the URL, including your password

The conditions for when you should use this technique include: 

  • When the Login Page Scripting is not functioning correctly
  • When you clone a copy of SmartSimple and the original copy contain a Login Script that prevents you from accessing the clone 
 Never create this technique as a browser shortcut because the username and the password are exposed. 

 To employ this method of accessing your SmartSimple instance, you use the following type of URL: 

http://Alias.smartsimple.biz/exlogin.jsp?alias=alias&user=username&password=password
  • exlogin.jsp is case-sensitive

Disable Session Timeout Alert

This function will disable both a 30-second alert and a re-login prompt for a Session Timeout (if Session Timeout is set). In order to set Session Timeout, simply scroll up above to the heading Business Security. The last field box in that caption will allow you to set an amount of minutes before Session Timeout. 

Session timeout setting.png

Disable Login Token Check

Hum