Skip to content

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.

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.

Truetask OAuth2 settings pane with the enable switch, field mappings and providers

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.

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

FieldNotes
Client IDFrom the app you registered with the provider.
Client SecretFrom the same app.
Auth URLLeave empty for the provider's default. Required for a generic OIDC provider.
Token URLLeave empty for the provider's default.
User Info URLLeave empty for the provider's default.
Display NameA custom label for the sign-in button.

Field mappings

Field Mappings tells Truetask which key in the provider's response carries which piece of the user record. Leave a field empty to use the default.

MappingTypical value
IDsub
Namename
Usernamelogin
Avatar URLavatar_url

Accounts created this way are recorded with the source OAuth, which is filterable in the User Directory.

Active Directory

Settings > Server > Active Directory syncs accounts from an LDAP or Active Directory server and lets those people sign in with their directory password. Sign-in is a bind against the directory, so the directory stays the source of truth for the password.

Truetask Active Directory settings pane with connection, filter and sync sections

Connection

Turn on Enable LDAP / Active Directory, then fill in:

FieldNotes
LDAP URLldap:// on port 389, or ldaps:// on port 636 for an encrypted connection.
Base DNWhere the search starts.
Bind DNA service account, either user@domain or a full DN.
Bind PasswordSaved once. Leave it empty afterwards to keep the stored password.

Test Connection checks the credentials before you save anything else.

User filter

FieldNotes
LDAP FilterSelects which users to sync. The default excludes disabled accounts.
Email AttributeThe directory attribute used as the person's email in Truetask.

Organizational units

Discover OUs reads the organizational units and containers from the directory and lists them with a checkbox each. Unticking one excludes its users from the sync, which is how you keep service accounts and computer objects out of the workspace. The pane shows how many OUs are currently excluded.

Admin groups

Promote AD admins to Truetask Admin role assigns the Admin role instead of the default User role to anyone in the groups you pick. Discover Groups fetches the directory's security groups so you can select them.

Sync

Two buttons:

ButtonWhat it does
PreviewA dry run. Shows how many users would be synced and how many the OU filter excludes, without writing anything.
Sync NowRuns the sync and reports Created, Updated, Unchanged and Excluded counts.

Everyone arrives with the User role unless an admin group promotes them. Adjust roles afterwards in the User Directory.

Automatic Sync then keeps it current on a schedule: Manual only, Every hour, Every 6 hours (recommended), Every 12 hours, or Daily.

Every sync and every directory sign-in is written to the audit log with its own action, so you can see when accounts appeared and who signed in through the directory. 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.

Truetask works the same on Truetask Cloud and on your own server. Pages and sections that apply to one model only are labelled.