Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN`

Option | `AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN`
Description | Automatically creates users in LogScale if they logged in with external authentication methods
Value Type | boolean
Default | `false`
Values | `false` | Users must be created before they log on
| `true` | Create the user automatically when the user logs on

Users need to be created in LogScale before they can log in with external authentication methods like SAML/LDAP/OAUTH.

Set this parameter to true - then users are automatically created in LogScale when successfully logging in with external authentication methods. If false, users must be explicitly created in LogScale before they can log in.

ini

    AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN=false
    AUTO_UPDATE_GROUP_MEMBERSHIPS_ON_SUCCESSFUL_LOGIN=false
    ONLY_CREATE_USER_IF_SYNCED_GROUPS_HAVE_ACCESS=false
    DEFAULT_GROUPS=group1, group2

In order for the login mechanism to capture and sync the users groups from the authentication mechanism, set `AUTO_UPDATE_GROUP_MEMBERSHIPS_ON_SUCCESSFUL_LOGIN` to true.

#### Enter search term