Self Service¶
With the self-service function, insight-mobile can be used without access data. The Insight server creates a session in the EAM-system. Further settings can simplify the UI.
Required configurations:
A user with restricted authorizations must be created in the EAM system. The user should be assigned to a role which is used in the in the self service tree configurations. The access data must be stored in the insight.properties: (The password can be encrypted)
    selfservice.username=selfservice
    selfservice.password=password
A client configuration must be created analogous to config.json. The file must contain at least the following information: "server" and "selfServiceLogin".
Minimal example: selfservice.json
    {
        "server": "https://your-insight-server.com",
        "selfServiceLogin": true
    }
Example of a very simple UI: selfservice.json ("startPage" Opens when the app starts for the first time, in this example a ticket is created.)
    {
        "server": "https://your-insight-server.com",
        "selfServiceLogin": true,
        "disableOfflineSupport": true,
        "disableSettings": true,
        "startPage": "tree/test-self-service/TICKET"
    }
This "selfservice.json" file must be stored in insight-mobile as the server. This can be easily configured by using deep link "server". This can be easily configured by using deep link "server"
    <a href="insightmobile://server:https://your-insight-server.com/insight/mobile/selfservice.json">Start Self-Service</a>