The <authfull> tag contains the full functionality of the user authorization including the registration form. It also supports configurable validation in strings containing user login and password. 

The following attributes are applicable to the tag:

Attribute

Type

Mandatory

Description

classStringNSpecify the CSS style class.
isRegistrationBooleanN

Enable new users' registration. The default value is 'false'. If it is set to 'true', then new portal users can sign up. Otherwise, this is prohibited, and only existing users can sign in.

isSwitchLangBooleanNDisable locale switch on the authorization page. The default value is 'true'. If this attribute is equal to 'false', then the user will not be able to change the interface language and will use the default system language.
isRememberMeBooleanNSpecify whether user credentials should be saved on this computer or not. The default value is 'false'. To save the credentials, make this attribute equal to 'true'.
logoStringN

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

https://example.com/logo.png
isResetPasswordBooleanN

Enable password retrieval. The default value is 'false'. If it is set to "true", then the widget form will contain the retrieval link.

Possible attribute values: 'true' or 'false'.

redirectToStringNSpecify the path to the portal where to redirect after successful authorization.
useSourceUrlBooleanN

Enable keeping the source URL after redirecting if the user has not been authorized before. The default value is 'false'.

Please note that if this attribute value is 'true', then it is a higher priority than the redirectTo attribute value.

In both cases, the user is not logged into the 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 he needs to provide his credentials.
    3. After authorization, the user is redirected to the Service Portal main page.
  2. The useSourceUrl attribute value = 'true'
    1. A 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 he needs to provide his credentials.
    3. After authorization, the user is redirected to the page available by the initial link.


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


  • No labels