Use the following properties to set up the authorization and login, including key email messages, default language and timezone, content of the login page, links, and others.
To get a list of available system properties, navigate to System Properties → All Properties.
Property name | Type | Default value | Description | Example |
---|---|---|---|---|
email.reset_password.email_body | String | Not defined | Specify the email body for the password reset request. | Follow the link to change the password. |
email.reset_password.subject | String | Not defined | Specify the subject for the email sent when the password reset was requested. | Your new password. |
email.reset_password.unchanged_password | String | Not defined | Specify the message body of the email about an unchanged password. | This user cannot change the password. |
email.validation.reg_exp | String | /\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b/ | Specify a pattern to validate the email addresses. If the property value is empty, the /.*@.*/ expression is used. Any change to this pattern may cause the email address validation engine to work incorrectly. | |
page_access.redirect_url | String | /portal | Specify a URL redirect from the authorization page for users without the required roles to the Service Portal page. | |
simple.auth_page.help_info.en | String | Not defined | Specify a message that users see when clicking Help on the authorization page. This property is for the message in English. | <p>If you need help, please contact us</p><p>E-mail: service@example.com</p><p>Phone: +7(555)30092019</p><p><a tohref='Go'> support page</a></p> |
simple.auth_page.help_info.ru | String | Not defined | Specify a message that users see when clicking Help on the authorization page. This property is for the message in Russian. | <p>Если вам требуется консультация, свяжитесь с нами</p><p>E-mail: service@example.com</p><p>Телефон: +7(555)30092019</p><p><a href='Go'>Go'>https://simpleone.ru/'>Go to support page</a> </p> |
simple.auth_page.support_email | String | Not defined | Specify a contact email for the authorization page. | service@example.com |
simple.auth_page.support_phone | String | Not defined | Specify a contact phone for the authorization page. Numbers, spaces and the plus sign (+) are allowed. | +1 800 5555555 |
simple.auth_page.support_site | String | Not defined | Specify a URL of the service desk site displayed on the authorization page. | https://service.example.com/ |
simple.login.username.sensitivity.enabled | Boolean | false | To enable the creation of the similar usernames with case-sensitivity (like "username" and "UserName"), set this property to true. | |
simple.passwordreset.enabled | Boolean | false | To enable the password reset functionality when logging in the system, set the property to true. If this property is set to false, the system rejects password reset requests to API. | |
simple.signup.enabled | Boolean | false | To enable displaying the Sign-up option when logging in the system, set the property to true. | |
simple.user.password_reset_token_expiry | Integer | 3600 | Specify the password reset token expiration time (in seconds). If not specified, then the default value is applied (3600 seconds, or 1 hour). | |
simple.username.pattern | String | /^[A-Za-z][A-Za-z0-9_.-@]*$/ | Specify a pattern for username validation. For more information, refer to the regular expression documentation. | |
simple.sso.active | Boolean | false | To enable the Single Sign-On authorization, set the property to true. | |
simple.sso.priority_over_welcome_page | Boolean | false | To enable the Single Sign-On login page priority over the welcome page, set the property true. | |
simple.welcome_page.url | String | Not defined | Specify the welcome page URL, or enter false to disable redirection to the page. | portal/login If the redirection URL is set to a nonexistent page, the redirection leads to one of the existing pages of the portal. |
user.language.default | String | en | Set the system language available for users by default on the instance. Users can change the language in the Preferences menu. The "out-of-the-box" solution contains two languages: Russian and English. | |
user.timezone.default | String | Not defined | Specify the user default timezone. Users can change the default timezone in the Preferences menu. | Europe/Moscow |
user.token.ttl | Integer | 864000 | Specify the user token lifetime in seconds (1 day = 86400 seconds). |
/
- No labels