Question

Modify Login Functionality

Hi Team,

How to modify or override the default login functionality in Creatio to allow users or portal customers to log in using their mobile number or other parameter instead of the username?

 

 


Platform: Creatio:Energy (Freedom UI)

 

 

Like 0

Like

6 comments
Best reply

Can you not set the user's username to be the mobile number or other parameter you want to have them log in using?

There is an object named "User session" (SysUserSession) that you could likely use for that. An active session would be one with a session start but no session end. (Oops, added to wrong question and won't let me delete)

Can you not set the user's username to be the mobile number or other parameter you want to have them log in using?

Ryan Farley,

 

Ryan Farley,

No worries,

I am also looking for session related query

Harvey Adcock,

Thanks for the response. Its working.

 

Hi Team,

IMPORTANT!!!

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.

Requirements:

  • On Login: Automatically assign the required licenses to users but before they are granted access to the system.
  • On Logout: Revoke the assigned licenses to make them available for other users who may log in afterward.
     

    Are there any events, hooks, or extension points available during the login and logout processes that would allow us to implement this logic?

Hello!

Unfortunately, this type of system setup is not possible in the current version using out-of-the-box (OOTB) functionality. However, we have submitted a request to our R&D team to consider implementing this feature in a future release.

As a workaround, we recommend using the LDAP functionality. It allows you to assign licenses to users upon login. Please note, however, that licenses will not be automatically unassigned after login.

Please find more information regarding the LDAP in the following articles: https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/synchronize-users-with-ldap/set-up-ldap-synchronization and https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/synchronize-users-with-ldap/set-up-ldap-authentication

Please let us know if you have other questions.

Thank you for reaching out!

 

Show all comments