Hi Team,
I would like to confirm whether it's possible to modify or override the default login & logout functionality, as I have to execute custom business logic during the login and logout processes.
If possible, please provide the recommended approach for implementation.
Like
You could use the following to execute code on the session start and end of the user: https://customerfx.com/article/executing-code-in-creatio-application-and-session-start-and-shutdown-events/
Ryan
Hi Ryan,
In Creatio, when a user attempts to log in, the system first checks for required licenses to login before validating user credentials. If no license is available, the login fails with the error below:

So, I need Event or Hook that can be used before OnSessionStart to perform some action (Assign License) before getting access to System.
Requirements:
OnLogin: Assign the licenses upon login
OnLogout: Revoke the Licenses to make them available for other users