Teams and workspaces
Signing in
Section titled “Signing in”- Passwords. Everyone may set a password on their account page (the avatar in the top bar → Your account), or an admin
runs
goliash user password -email you@example.com. Forgot it? Sign in with a link and set a new one: for 15 minutes after a link or single sign-on, the current password is not asked for. - Magic links.
goliash login-link -email you@example.comprints a one-time link. The first person becomes the owner. With SMTP configured, people request links by e-mail on the sign-in page. A link opens a page that signs in with a button, so a chat’s link preview or a mail scanner, which opens links but presses no buttons, does not use it up. - Invitations. Invite under Settings → Workspace settings → People gives an e-mail address a role and shows a sign-in link for it, which works once, for 7 days; with SMTP configured Goliash e-mails it too. Signing in with it, someone without a password yet lands on their account page and is asked to set one, or add a passkey (not with single sign-on). Sign-in link beside a person makes a new one (an expired invitation, a lost password).
- Passkeys. On the account page, Add a passkey saves one in the device (Touch ID, Face ID, Windows Hello, a
phone or a security key). Then Sign in with a passkey on the sign-in page, or pick it from the browser’s
suggestions in the e-mail field: no password, no code. A passkey only works on this server’s address, so it cannot
be phished. Passkeys need
GOLIASH_PUBLIC_URLwith a domain name over HTTPS (orhttp://localhost). - Single sign-on (OIDC). Step by step in Single sign-on. Any OpenID Connect provider (Google, Microsoft Entra ID, Okta, Keycloak, Authentik, …),
one for the whole organization. An owner sets it up under Settings → Single sign-on: the page shows the redirect
URI to register with the provider (
<public URL>/auth/oidc/callback), takes the issuer, client ID and secret (encrypted with the server’s secret key), and maps the provider’s groups to roles in a table: a group to admin of the organization, or to member or viewer in every workspace or one. With groups, the provider decides at every sign-in who gets in and with which role; without, people need an invitation or an allowed e-mail domain. Saving checks that the provider answers, and Test a sign-in shows what an account would get (its e-mail, its groups, the roles) without signing anyone in. The same can be set in the environment instead (GOLIASH_OIDC_*,GOLIASH_GROUP_ROLES, see Configuration); it then takes precedence and the page shows it read-only.
Apps with access
Section titled “Apps with access”AI assistants (Claude, Cursor, VS Code) connect to Goliash’s MCP server by signing in as the person who adds them: a consent page names the app, the person picks a workspace and allows it, and the app reads Goliash as them, read only. Your account → Apps with access lists them, with when each last read, and Revoke ends one. An app loses access when its person leaves the workspace, and after 30 days unused. See MCP.
Admins see every app reading the workspace under Settings → Workspace settings → Apps with access: the app, whose it is, when it was allowed and last read; Revoke ends anyone’s. Allowing and revoking are in the audit log. One address can register at most twenty apps an hour.
Two-factor sign-in
Section titled “Two-factor sign-in”On their account page, anyone can turn on codes from an authenticator app (1Password, Bitwarden, Google Authenticator, Authy…): scan the QR code, enter the first code, and keep the ten recovery codes shown once. From then on Goliash asks for a code after the password and after a sign-in link, so an e-mailed link alone does not get in. Single sign-on (OIDC) leaves this to the identity provider.
- A code works once; a little clock drift is fine. Five wrong codes end the attempt for a while.
- Lost the phone: sign in with a recovery code, then set up again or make new codes on the account page.
- With a passkey, Use your passkey on the code page works instead of a code.
- No recovery codes either: an admin chooses Reset 2FA on Workspace settings (it removes passkeys too), or the
operator runs
goliash user 2fa -email you@example.com -reset. TheGOLIASH_RECOVERY_EMAILlink (below) also skips the code.
The secret is encrypted with the server’s secret key, like channel secrets; recovery codes are stored as hashes.
An owner can require two-factor sign-in for the organization (Workspace settings): everyone who signs in with a password or a link then sets up an app, or adds a passkey and signs in with it, before anything else. A passkey counts as both factors. Owners turn it on only from a session that meets it themselves.
Locked out?
Section titled “Locked out?”The images have no shell, but the goliash binary in them prints a sign-in link or sets a password. Run it next to
the server, on the same database:
docker exec goliash goliash login-link -email you@example.com # Docker: one-time sign-in linkecho 'a long new password' | docker exec -i goliash goliash user password -email you@example.comkubectl -n goliash exec deploy/goliash -- goliash login-link -email you@example.comnomad alloc exec -task goliash <alloc-id> goliash login-link -email you@example.comWith an empty database (a container recreated without its volume) the first login-link creates you as the owner.
No exec, or a console that wants a shell (Nomploy, many PaaS): set GOLIASH_RECOVERY_EMAIL=you@example.com on
the server and restart it. Every start then logs a one-time sign-in link for you (the log line starts with
recovery:); open it within 15 minutes, set a password on your account page and remove the variable again. It
only works for someone who already has an account, or creates you as the owner when nobody has one yet. In the
Nomad pack the variable is recovery_email.
Keep /data on a volume: it holds the database and goliash.key.
Sessions
Section titled “Sessions”A session ends after 30 days (GOLIASH_SESSION_TTL) or after 14 days without use (GOLIASH_SESSION_IDLE),
whichever comes first.
The account page lists every browser you are signed in on, with its address and when it was last used; sign any of them out, or all but this one. Changing your password signs out the others. On Settings → Workspace settings admins sign a person out everywhere or remove their password (when it leaked: they sign in with a link and choose a new one).
| Role | Can |
|---|---|
| viewer | read everything in the workspace |
| member | also map services, edit version policies and acknowledge |
| admin | also manage agents, targets, channels, rules, API tokens and people |
| owner | everything, in every workspace |
Viewer, member and admin are granted per workspace. Admin and owner can also be granted for the whole organization: they then reach every workspace.
Organization admins change roles on Settings → Workspace settings. Only owners grant or take the owner role, the last owner cannot be removed, and nobody changes their own role. Every change is recorded in the audit log.
Workspaces
Section titled “Workspaces”A workspace has its own agents, targets, services, history, notifications and API tokens. Use one per client (for an MSP) or per team.
goliash workspace create -name "Client A" -slug client-a -envs # -envs adds dev, staging and prodgoliash user create -email ops@client-a.example -role member -workspace client-agoliash user grant -email ops@client-a.example -role admin -workspace client-agoliash matrix -workspace client-aOrganization owners and admins switch workspaces in the top bar. Everyone else sees only the workspaces they were invited to, and a workspace admin manages the people of that workspace only, so clients never see each other.
Every CLI command takes -workspace (or GOLIASH_WORKSPACE); without it, it works on the first workspace.
API tokens
Section titled “API tokens”API tokens (glsh_api_…) belong to one workspace. A viewer token (the default) reads everything; a member
token can also acknowledge. A token may expire after 30, 90 or 365 days, or never. Create them on Settings → Workspace settings or
with goliash token create -name prometheus [-role member] [-expires 90d]; the token is shown once. Settings → Workspace settings
lists every token with who created it and when it was last used, and revokes one at once (goliash token revoke -name prometheus). Things done with a token show its name in the audit log and on acknowledgements.
Audit log
Section titled “Audit log”Every change to configuration, tokens and roles, from the UI, the API or the CLI, and every sign-in is recorded. Admins see the log on Settings → Workspace settings. Secrets never appear in it.