User guide
Quick Start Guide
Dashboard
Overviews
Case detail (Caseoverview)
Case - event
Tasks
Case notes
Documents
User settings
Favorites
Table component
FAQ
Administrator Guide
Platform guide
Administration
Crons
Authentication and Synchronization
Mobile App Setup for Your Environment
Scheme
Dynamic tables
Archiving
Scripts
Service console
Scheduled Tasks
HR Agenda
Sequences
CSP Headers
Logs
Access Token Settings & Session Expiration
Template
Roles
Planning
Users
Organizational structure
Events
Translations
AXIOS API
Calculations & Functions
Integrations
TAS Forms
TAS Forms
Activating the module on the environment
TAS Forms - secret creation guide for Docker Swarm
Advanced Features & Tips
Partners
Product
Business Changelog
Technical Changelog
Version Upgrade Guide
Upgrading to 5.9
Upgrading to 5.3
Dynamic conditions migration
PDF printing adjustment
Editing Task Description vs Task Instructions
Transpiling forEach to a for loop
Rendering HTML on Caseoverview
Upgrading to 5.7
Lodash upgrade v4.17.x (>v5.5)
Main changes and deprecated features (v5.3 > v5.7)
Using validation functions
Differences between TAS4 and TAS5 - a complete overview
Best Practices for Upgrading from v4 to v5
Technical details
News / Important information
- All Categories /
- Administrator Guide
- Platform guide
- Administration
- Authentication and Synchronization /
- Configuring authentication modules
Configuring authentication modules
Individual authentication modules and their properties and parameters are defined as JSON.
This can be done using e.g.
Holder.warn(); – logs to the general (system-wide) logs
debug.log(); – logs to the calculation/debug logs
Calculations and functions from the following APIs can be embedded within postAuthInstructions or identUser:
EvalMathAPI | Calculations that are commonly used in calculations using lib.vypocet...(); Some calculations will not work here, e.g. for working with processes. |
IdentityApi |
|
HolderApi | holder.getTextProperty("cx\\.y"), holder.get("a") |
AxiosApi | See AXIOS API |
CurlApi | Classic curl usage: curl.start(); |
DynamicTableApi |
|
AzureAd configuration - example
{
"logoutParams": {
"url": "/authenticate"
},
"tenantID": "XXXX",
"clientID": "XXXX",
"responseType": "id_token token",
"responseMode": "form_post",
"scope": [
"profile",
"email",
"openid"
],
"includeUserProfilePicture": true,
"allowHttpForRedirectUrl": false,
"postAuthInstructions": [
"/* Retrieve values from the input */",
"const name = Holder.getTextProperty('name');",
"const email = Holder.getTextProperty('email');",
"const photo = Holder.getTextProperty('photo');",
"const userExternalId = Holder.getTextProperty('oid');",
"const userExternalSource = Holder.getTextProperty('source');",
"const displayName = Holder.getTextProperty('displayName');",
"",
"/* Assign values, split if necessary */",
"const username = email;",
"const [ firstName, ...lastNames ] = Holder.getTextProperty('name').split(' ');",
"",
"/* Find or create a User with the given information */",
"const user = identity.findOrCreateUser(username, firstName, lastNames.join(' '));",
"",
"/* Set user email and photo */",
"user.USER_EMAIL = email;",
"user.USER_PHOTO = photo;",
"user.USER_EXTERNAL_SOURCE = userExternalSource;",
"user.EXTERNAL_ID = userExternalId;",
"user.USER_DISPLAY_NAME = displayName;",
"return identity.store(user);"
]
}
Updated
by Frantisek Brych