Session token-based authentication¶
Warning
Session token-based authentication is deprecated in favor of API key- and session based authentication methods (form based login, Microsoft Entra ID, OpenID, etc).
Warning
Session token-based authentication is considered insecure and should not be enabled.
This authentication method was widely used in the past for both action pads in the Desktop Client and integrations with other systems. A login request was made (username+password) and the server returned a token which the client then passed with every request as a HTTP header.
These days applications integrating with Lime CRM should instead use API key authentication and action pads are authenticated by the Desktop client itself.
Session token-based authentication is disabled by default but can be re-enabled to make legacy integrations work until until they have been updated to use either API key or session based authentication.
To enable session token-based authentication (not recommended), add the following to the Web Server configuration:
LBS App Example¶
To upgrade an LBS App used in an action pad remove all session id code from the LBS app. The Desktop Client will add it's own authentication to the calls.
Remove the code as shown in these examples: