Use the <authfull> tag to configure the user authorization functionality, including the registration form. The tag also supports configurable validation in strings that contain user login and password. 

Available attributes:

Attribute

Type

Mandatory

Description

classStringNSpecify the CSS class name defined in the CSS field of the widget
isRegistrationBooleanN

Set the value to true to make registration available to new users of the Self-Service Portal. The default value is false and only existing users can log in.

isSwitchLangBooleanN

Set the value to false to prohibit users from changing the interface language. System language will be used. The default value is true.

isRememberMeBooleanN

Set the value to true to store the user's credentials on the computer. The default value is false.

logoStringN

Define the absolute path to the logo displayed on the authorization page. For example:

https://example.com/logo.png

isResetPasswordBooleanN

Set the value to true to add a password reset link to the widget form. The default value is false.

redirectToStringNSpecify the path to redirect a user to the Self-Service Portal after successful authorization.
useSourceUrlBooleanN

Set the value to true to keep the original URL after a redirect if the user has not previously logged in. The default value is false.

If the attribute value is true, it overrides the redirectTo attribute.

In both cases below, the user does not need to be logged in to the Self-Service Portal.

  1. The useSourceUrl attribute value = false.
    1. The user follows the link looking like https://instance.example.com/portal/view_task?table_name=itsm_task&record_id=162193232428931210&view=ServicePortal
    2. The user is redirected to the authorization form, where they need to provide their credentials.
    3. After authorization, the user is redirected to the Self-Service Portal main page.
  2. The useSourceUrl attribute value = true
    1. The user follows the link looking like https://instance.example.com/portal/view_task?table_name=itsm_task&record_id=162193232428931210&view=ServicePortal
    2. The user is redirected to the authorization form, where they need to provide their credentials.
    3. After authorization, the user is redirected to the page available by the orginal link.

Example:

authfull
<authfull redirectTo="/portal" isRegistration="true" isSwitchLang="true" isRememberMe="false" isResetPassword="true"></authfull>

The template above adds the following element to the page:


  • No labels