Configure: ESA Local User (ESM) Login
Learn how to configure Secure Access to authenticate with local ESM users.
Configure: ESA Local User (ESM) Login
Learn how to configure Secure Access to authenticate with local ESM users.
In this article is described instructions for configuring Secure Access component to be able to authenticate with local ESM (Professional and IGA) users.
Note!
By default Local login configuration is disabled in ESA. When enabled the ESA is passing the User login credentials to ESM, it's also creating own User representation in its own database, because ESA must be aware of any User during login process. Local users data is stored in ESM database.
Step-by-Step Instructions
- Login with ESA Admin (main.admin) to URL domain.com/auth/admin
- Select correct realm from the top corner
- Open Authentication settings from the left side panel and then choose
Efecte-loginfrom the list. IfEfecte Loginis missing add it from Create flow. Name is usuallyEfecte Login.
- Add an Execution


- Add new flow to be required.

- Bind New
EFECTE Loginform to browser flow (If Bind flow is not offered toEfecte loginform it is already in use)

- Open Realm Settings and tab Themes. Make sure that
Efectelogin theme is selected
- Change Realm User profile attributes settings
Select correct Realm from dropdown
Go toRealm settings,User profile-tab

Modify email, firstName and lastName attributes.
Set those 3 attributes Required: Off.

Save changes to those attributes.
Configuration is now ready.
How to test login and logoff
-
Create local user into ESM, for example:

- Go to ESA login page and choose "Credentials Login" and “Login with Matrix42 account”

- Logout.
- Login again with different user, and confirm that you see correct user logged in to solution.
How to link local user to Entitlements?
If baseline in use you can add Local user to Entitlements from IGA Account template and Attribute called Manually assigned group memberships. Local users, which don't have memberships from directory, must have group memberships assigned in this attribute. Only for administrative use.

If baseline is not in use or is not the newest version you can add the attribute into Person template and edit expression Group info for ESS connector to include manual memberships.
Troubleshoot
If ESA login works but ESM login not, Check the ESM log called itsm.log (Efecte ESM→ Maintenance→Logs→Download logs→itsm.log)
If ESA login is not working, Check the ESA's server.log (opt/keycloak/standalone/log/server.log) and ESA container log /opt/keycloak/logs/keycloak.log
ESA login is successful, but itsm login screen is displayed. Please check linked article and make sure for example that userlevel is not in use for ESM local users https://docs.efecte.com/iga-support-library/esm-login-process-with-esa
Also note that ESA sends data to ESM in small letters. This means that userID in ESM needs to be in small letters too.
Login is successfully, but local user cannot see anything in ESS. Please check this article https://docs.efecte.com/iga-configuration-library2/1355364-checklist-user-information-from-esm-to-ess
If ESA javascript mappers need a change, please check this article https://docs.efecte.com/iga-support-library/1812412-esa-custom-javascript-mappers
Login doesn't work and you see http 403 error on browser. Check that your Realms Shibboleth Client has these protocol mappers with other mappers:urn:mace:dir:attribute-def:principal and com:efecte:ess:user
Table of Contents