CortenDesk 0.9.0 adds automation and identity controls
Add OIDC, two-factor authentication, device policies, delegated admin, automation APIs and audit logs with controls off until enabled.
CortenDesk 0.9.0 adds policy, identity and automation controls you can turn on when you are ready.
Device policies
Device policies (strategies) let you push client settings to devices from the console. Policies can cover permissions, security and password rules, and capture options.
You can assign a policy to a device, a user or a device group. The most specific assignment wins. If a policy is enforced, a local change is reverted on the next heartbeat. Without enforcement, the policy acts as a default the user can change back.
There is also a Device approval gate. When enabled, newly seen devices stay Pending until an operator approves them.
Sign-in and account security
Single sign-on (OIDC) is now available for the console and for the stock RustDesk client, with no client patch or custom build. It supports Keycloak, Authentik, Entra ID, Okta, Google Workspace or any OpenID Connect provider.
OIDC uses authorization-code flow with PKCE and verified ID tokens. Accounts can be created just in time, with optional approval and an email-domain allowlist.
Two-factor authentication adds TOTP with single-use recovery codes. You can require it for all users or administrators only. Administrators can reset a user's second factor, and there is a break-glass CLI command.
Every user also gets My Account to edit their profile, change their password and manage their second factor.
Admin roles, API and email
Delegated administration adds roles with a permission matrix for each console area. You can grant access to the Users screen without giving someone the whole console.
The Automation API adds scoped bearer tokens and REST endpoints for users, devices, groups, address books and audit logs. The RustDesk client's --assign flag is available for unattended deployment.
Email support now includes SMTP settings with a test send, user invitations, self-service password reset and an optional emailed code when signing in from a new browser.
Logs and rate limits
CortenDesk now records alarm and console audit logs. Log retention includes nightly pruning.
Per-address sign-in rate limiting can raise an alarm on brute force and password spraying.
Documentation for these features is in the wiki.
Updating
Upgrading is a normal migration. Run php artisan migrate. The Docker image does this on start. Every new control defaults to off, so upgrading changes no behaviour until you turn something on.
API tokens that use --assign --strategy_name must be recreated. Assigning a policy now requires strategy: rw on the token as well as device: rw. A token without it gets a 403, and an unknown policy name now gets a 404 instead of being silently ignored. Tokens cannot be edited, so issue a replacement and revoke the old one.
Pull one of the 0.9.0 images:
docker pull marcpope/cortendesk:0.9.0
docker pull ghcr.io/marcpope/cortendesk:0.9.0
Full details are in the CortenDesk 0.9.0 release notes.