Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

isSwitchLangBooleanN

...

Disable 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.
isRememberMeBooleanN

...

Specify 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.

Note

In both cases, the user is not logged into the Service Portal.

  1. The useSourceUrl

...

  1. attribute value =

...

  1. 'false

...

  1. '.
    1. The user follows the link looking

...

    1. 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.
  1. The useSourceUrl

...

  1. attribute value =

...

  1. 'true

...

  1. '
    1. A user follows the link looking

...

    1. 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.


Code Block
languagexml
titleauthfull
linenumberstrue
<authfull redirectTo="/portal" isRegistration="true" isSwitchLang="true" isRememberMe="false" isResetPassword="true"></authfull>