Skip to content
LogoLogo

Organizations reference

This page holds the rules of organizations. The steps are in the how-tos of Organizations.

Organizations and billing accounts

  • The organization pages are at discontinue.dev/org. Its tabs are Overview, Admins, Billing accounts, Role mappings, Domains, Sign-in, People and Provisioning.
  • Everyone with an account can create an organization. The person who creates it is its first admin.
  • Organization admins manage the organization. Billing admins handle payment. The two roles are separate.
  • An admin must be a member of the organization: someone on a verified domain, or added by the provider. The organization always keeps at least one admin.
  • An organization owns billing accounts. A workspace belongs to the organization that owns its billing account, or to none.
  • To attach a billing account, you are its billing admin, an admin of the organization and an admin of every workspace the account pays for. To detach one, you are its billing admin and an admin of the organization.
  • Attaching and detaching are recorded in the audit log of every workspace the account pays for.
  • Detaching deletes the organization's role mappings for the account's workspaces. Their members keep their access.
  • An organization admin who is not in a workspace sees nothing of its content.

Domains

  • A domain is verified by a TXT record at _discontinue-verify. followed by the domain, with the value the Domains page shows.
  • A claim covers the exact domain, not its subdomains. Upper and lower case and a trailing dot make no difference.
  • Public mail domains, such as gmail.com or outlook.com, cannot be claimed.
  • A domain has one owner. A domain nobody holds is verified at the first good check.
  • When a domain is verified, every account on it becomes a managed account of the organization, and each person gets one email.
  • Discontinue checks every verified domain once a day. A missing record warns the organization's admins by email. It never releases the domain.
  • Withdraw removes a claim that is not verified yet.
  • A domain that another organization holds moves only after a transfer of 7 days. Your record starts it, and it must still be in place after 7 days. A record that disappears in between stops the transfer.
  • During a transfer, the owner keeps the domain, its accounts and its rules. Its Domains page shows who is claiming it and when it moves, and its admins are emailed every day.
  • The owner's admins can select Release now, which moves the domain at once.
  • When a domain moves, its accounts leave the old organization, are signed out everywhere and become managed by the new one. Their links to the old organization's provider end.

Company sign-in

  • A provider is one of Microsoft Entra ID, Okta, Google Workspace, Keycloak or OpenID Connect. Discontinue signs in with OpenID Connect, with PKCE.
  • Entra ID asks for the Directory (tenant) ID. Google Workspace has a fixed issuer. The others ask for the Issuer, which must be an https address.
  • The redirect address to register at the provider is https://discontinue.dev/auth/callback.
  • A provider is Not tested until a sign-in through it has worked. Sign-in rules and access policies can require only a tested provider.
  • Edit with a new issuer, client ID or secret needs a new test sign-in.
  • Secret expires on makes Discontinue remind your admins 30, 7 and 1 day before the secret expires.
  • A provider's sign-in counts as one factor. Confirm that your provider asks everyone for a second factor, and it counts as two.
  • Your provider links or creates accounts only for addresses on your verified domains. An address elsewhere is never linked through it at sign-in. Its owner links it from Account, then Security, as a guest.
  • A person on a verified domain without an account gets one at their first sign-in through your provider. An existing account with the same address is linked.
  • Name and email are taken from the provider at each sign-in. A new address is accepted only on your verified domains and only when no other account holds it. Nobody can change a managed account's email in Discontinue.
  • Remove ends the provider. Everyone linked through it loses this way to sign in. A provider that a sign-in rule or an access policy requires cannot be removed until the rule changes.
  • When your provider fails, Discontinue support can pause the requirement to sign in through it. Your people then sign in with two factors of their own. The Sign-in page shows the pause, and Lift the pause ends it.

Role mappings

  • A mapping turns an App role, a Group or a Provisioned group into Member or Admin in one of the organization's workspaces.
  • At a person's first sign-in through the provider, they join every workspace their app roles and groups map to, if the workspace has room for another person.
  • Later sign-ins change only the role in workspaces the person is already in. A person removed by hand is not added back.
  • When a person is added to a mapped provisioned group, they join the workspace. When they leave it, their role is worked out from their other groups, or they leave the workspace.
  • The strongest matching role wins. A mapping never demotes or removes a workspace's last admin.
  • A mapping applies only to workspaces of the organization. After a billing account is detached, no mapping reaches its workspaces.

Sign-in rules

  • The rules apply to every managed account, in every workspace it uses, also in workspaces outside the organization.
  • Any method keeps every sign-in method. Only these allows the ticked ones: the organization's tested providers, Password and Passkey.
  • When only the provider is allowed, people on your domains are sent to it from the sign-in page, and signing up there with a password is refused.
  • Require a second factor accepts an authenticator app, a passkey, or the provider when you confirmed it asks for one.
  • Emergency access lists managed people who may also sign in with a passkey while only the provider is allowed.
  • The rules are checked on every request. A browser signed in before the change is asked for what the rules need at its next step, and comes back to the same page.
  • API tokens and connected apps keep the sign-in they were made from. Under Only these, one made from a method that is no longer allowed is refused.
  • Your organization's minimum for its workspaces' access policies has no page yet. A workspace's own access policy is on its Security page. See Decide what people must show in a workspace.

Managed accounts

  • Managed accounts lists everyone on your verified domains and everyone your provider added. Each row shows their sign-in methods, their last sign-in, their last sign-in through your provider and their open sessions.
  • Sign out everywhere ends every session of the person.
  • Deactivate refuses every session, API token and connected app of the person in the organization's workspaces, from their next request. Their account and their work stay. The last active admin cannot be deactivated.
  • A deactivated person keeps workspaces that another billing account pays for, with the methods your sign-in rules allow.
  • Without a provisioning token, a managed person is refused in your organization's workspaces when their last sign-in through your provider is more than 31 days old, or when they have none. One sign-in through the provider lets them in again. Scheduled report and notification emails still reach them.

Provisioning

  • The Tenant URL is https://discontinue.dev/api/v1/scim/v2. It serves SCIM 2.0 Users and Groups.
  • The token is shown once. Rotate replaces it, and the old token stops working at once. Revoke ends provisioning.
  • The provider creates, updates and deactivates people. Deleting a person deactivates them in the organization and keeps the account. Adding the same address again makes them active again.
  • The provider may use only addresses on your verified domains that no other account holds.
  • While a token exists, the 31-day rule does not apply. A token that is never used lifts it too, and the page warns about that.

Limits

WhatLimit
Domain checks with Check now10 an hour for each organization
Domain transfer7 days
Automatic domain checkOnce a day
Leaver rule without provisioning31 days since the last sign-in through the provider
Secret reminders30, 7 and 1 day before it expires

What is not possible yet

  • Opening the organization pages from the app. Go to discontinue.dev/org.
  • Reading the organization's own audit log. Its events, such as sign-ins of managed accounts, are recorded, but no page shows them.
  • Setting the organization's minimum access policy on a page.
  • Proving a domain any other way than with a DNS record.
  • Signing in through a provider over SAML. Only OpenID Connect works.
  • Joining people to workspaces by their domain alone. They join through an invitation, a role mapping or provisioning.

Terms

  • Organization: your company as the owner of its people's accounts, its billing accounts and their workspaces.
  • Organization admin: a person who manages the organization. It is a role separate from billing admin and from workspace admin.
  • Verified domain: an email domain the organization proved it owns with a DNS record.
  • Managed account: an account on a verified domain, or one the provider added. The organization's sign-in rules govern it.
  • Provider: your company's identity provider, connected under Sign-in. The app also calls it the organization's connection.
  • Company sign-in: signing in through the organization's provider.
  • Role mapping: a rule that turns a group or an app role at the provider into a workspace role.
  • Sign-in rules: how managed accounts may sign in, set under People. The audit log calls them the account policy.
  • Provisioning: the provider adding, updating and deactivating people over SCIM.
  • Deactivate: take a person out of the organization's workspaces without deleting their account.