authfull
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 |
---|---|---|---|
class | String | N | Specify the CSS class name defined in the CSS field of the widget |
isRegistration | Boolean | N | 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. |
isSwitchLang | Boolean | N | Set the value to false to prohibit users from changing the interface language. System language will be used. The default value is true. |
isRememberMe | Boolean | N | Set the value to true to store the user's credentials on the computer. The default value is false. |
logo | String | N | Define the absolute path to the logo displayed on the authorization page. For example:https://example.com/logo.png |
isResetPassword | Boolean | N | Set the value to true to add a password reset link to the widget form. The default value is false. |
redirectTo | String | N | Specify the path to redirect a user to the Self-Service Portal after successful authorization. |
useSourceUrl | Boolean | N | 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.
- The useSourceUrl attribute value = false.
- The user follows the link looking like
https://instance.example.com/portal/view_task?table_name=itsm_task&record_id=162193232428931210&view=ServicePortal
- The user is redirected to the authorization form, where they need to provide their credentials.
- After authorization, the user is redirected to the Self-Service Portal main page.
- The user follows the link looking like
- The useSourceUrl attribute value = true.
- The user follows the link looking like
https://instance.example.com/portal/view_task?table_name=itsm_task&record_id=162193232428931210&view=ServicePortal
- The user is redirected to the authorization form, where they need to provide their credentials.
- After authorization, the user is redirected to the page available by the orginal link.
- The user follows the link looking like
Example:
authfull
<authfull
redirectTo="/portal"
isRegistration="true"
isSwitchLang="true"
isRememberMe="false"
isResetPassword="true"
></authfull>
The template above adds the following element to the page: