Appearance
Sign-in and identity
Truetask accepts four ways in: a password, a one-time code by email, an external OAuth2 provider, and an Active Directory or LDAP bind. Password and one-time codes work out of the box. The other two are set up in the Server group of Settings.
Password and one-time codes
The sign-in page leads with Email me a sign-in code. Enter your email, Truetask mails an 8-digit code, and the code expires after 10 minutes. Use password instead switches to the classic email or username plus password form, and the page remembers nothing between the two.
Both the one-time code and Forgot your password? depend on the instance being able to send mail. When it cannot, the page says so rather than pretending the message went out, and points the person at their administrator.
Self-hosted only
Email delivery is your SMTP server. Until it is configured, sign-in codes and reset links do not arrive and everyone must use a password. See SMTP.
Clients sign in somewhere else: they have no password at all and get a code by email on their own page. See Managing clients.
Forced password change
When an admin sets a temporary password for someone and ticks Require a password change on next sign-in, that person's next sign-in lands on a short screen instead of the app. It asks for the temporary password they just used and a new one of their own, minimum 8 characters. They cannot reach the workspace until they set it.
See Members and agents for how an admin sets that password.
OAuth2
Settings > Server > OAuth2 turns on sign-in with an external provider.

Flip Enable OAuth2 first, then configure at least one provider. A provider only appears on the sign-in page once it has a client ID, and the pane marks each one Configured or Not configured so you can see at a glance which are live.
The pane opens with the Redirect URL, the one address every provider's console asks for as the callback or redirect URL. It is <your public URL>/api/oauth2-redirect, the same for every provider, and a click on the row copies it. Every field on the pane carries an info glyph whose bubble says what the field is, shows an example value and says why it matters.
Providers you can configure:
- GitHub
- GitLab
- Gitee
- Gitea
- Linear
- Notion
- OIDC 2
- OIDC 3
The two OIDC slots are for any standards-compliant provider that is not in the list by name.
Per-provider fields
| Field | Notes |
|---|---|
| Client ID | From the app you registered with the provider. |
| Client secret | From the same app. Stored encrypted; paste a new one to rotate it. |
| Authorization URL | Leave empty for the provider's default. Required for a generic OIDC provider or a self-managed GitLab or Gitea. |
| Token URL | Leave empty for the provider's default. |
| User info URL | Leave empty for the provider's default. |
| Display name | The label on the sign-in button. |
Field mappings
Field mappings says which fields of the provider's profile fill a new account. Leave a field empty to use the provider's default.
| Mapping | Typical value |
|---|---|
| ID | sub |
| Name | name |
| Username | login |
| Avatar URL | avatar_url |
Accounts created this way are recorded with the source OAuth, which is filterable in the User Directory.
Truetask Cloud only
An account created through OAuth2 takes a seat like any other, and is refused once the plan's user limit is reached.
Active Directory
Settings > Server > Active Directory connects a domain controller. One switch, Enable Active Directory, does two things at once: people sign in with their directory password, and accounts sync from the directory on the schedule you pick. To let people sign in with their directory password without creating accounts on a timer, leave Sync interval on Manual only.
Everything else on the pane appears once the switch is on.

Signing in with a directory password
A password sign-in tries the directory first, looking the person up by their email address. When the directory accepts the password, Truetask stores it as the account's password too and lets the person in.
A directory account, one whose source is LDAP, signs in with what the directory accepts today. When the directory says the password is wrong, or that the person is not there, the sign-in is refused, even if an older password would match locally. Only a directory that cannot be reached at all lets the last accepted password in, so an outage on the domain controller does not lock everyone out.
An account created by hand keeps its local password as a fallback. A directory password shorter than 8 characters cannot be used in Truetask.
Connection
| Field | Notes |
|---|---|
| Server URL | ldap:// on port 389, or ldaps:// on port 636 for an encrypted connection. |
| Base DN | Where the search starts. Filled in from the bind account for you: [email protected] becomes DC=company,DC=com. Type your own if the directory's base differs; a value you typed is never overwritten. |
| Bind DN | A read-only service account, either user@domain or a full DN. Truetask never writes to the directory. |
| Bind password | Saved once. Leave it empty afterwards to keep the stored password. |
Test connection binds with those credentials. A successful test lists the directory's organizational units right away, so the next section fills itself in.
Who gets synced
Every organizational unit is synced unless you untick it. Discover OUs reads the units and containers from the directory and lists each with a checkbox, its place in the tree and how many people it holds; untick the ones that hold service accounts and computer objects. The pane counts how many units are excluded.
Make members of these groups admins gives the Admin role to anyone in the groups you pick, instead of the default User role. Discover groups fetches the directory's security groups as toggles.
Sync
The section opens with the last sync: when it ran and how many accounts were created, updated and left unchanged, or the reason it failed. Every real run stamps it, the scheduled ones included, so it is the same line whoever ran it.
| Control | What it does |
|---|---|
| Sync interval | Manual only, Every hour, Every 6 hours, Every 12 hours, or Daily. |
| Preview | A dry run. Shows how many people would be synced and how many the unit filter excludes, without writing anything. |
| Sync now | Runs the sync and reports the created, updated, unchanged and excluded counts. |
A scheduled sync runs on the hour, at the UTC hours its interval divides: every 6 hours is 00:00, 06:00, 12:00 and 18:00 UTC.
What a sync does to each person it finds:
- It matches an existing account by email address only. A username alone never links a directory person to an account.
- A person with no account gets one, with the User role unless an admin group promotes them, and the source LDAP. When the directory username is already taken, the new account gets a short suffix on its username.
- An existing account is marked as a directory account, and its role is raised when an admin group says so. A sync never lowers a role.
- An account disabled in the directory is disabled here, and one enabled there again is enabled here again.
- A person with no email address in the directory is skipped.
Nothing is ever deleted by a sync, and accounts the directory does not list are left alone. Adjust roles afterwards in the User Directory.
Advanced
The LDAP filter and the email attribute wait behind Advanced, which opens by itself when either differs from its default.
| Field | Notes |
|---|---|
| LDAP filter | Selects which accounts to sync. The default takes every person with a userPrincipalName. |
| Email attribute | The directory attribute used as the person's email in Truetask: userPrincipalName in most domains, mail when addresses differ from the sign-in name. Sign-in looks people up by the same attribute. |
In the audit log
Every directory sign-in is written to the audit log as LDAP Auth, and a sync someone runs with Sync now as LDAP Sync, with its counts. A scheduled sync shows on the pane's last-sync line. See Audit, sessions and logs.
Both panes exist on Cloud
OAuth2 and Active Directory are in the Server group but they are not self-hosted only. A Truetask Cloud workspace has both.
Sessions
Every successful sign-in is recorded, and an admin can sign a person out of every device at once. See Audit, sessions and logs.

