Security and sign-in
Two-factor sign-in
In organization settings, under Security (today through the API, PATCH /v1/orgs/{id}/settings; the settings screen follows), choose whether two-factor is required for everyone, for admins (owner, admin, manager, partner manager) or for nobody, with a grace period of up to 14 days.
- During the grace period nobody is refused.
- After it, a person who signed in without a second factor sees "Two-factor sign-in required". The screen offers Set up two-factor (an authenticator app) and Sign in again.
- Changing security settings itself needs a second factor in the last 10 minutes.
Single sign-on with your own provider
sequenceDiagram
participant A as Your admin
participant I as meryxon
participant D as Your DNS
A->>I: Link provider: issuer, client ID and secret, email domains
I-->>A: A TXT record per domain
A->>D: _meryxon-verify.<domain> TXT meryxon-verify=…
A->>I: Verify
Note over I: People with that email domain now sign in through your provider
- Register meryxon as an OpenID Connect client in your provider (Microsoft Entra ID, Google Workspace, Okta or any OIDC provider).
- Link it in meryxon (today through the API,
POST /v1/tenants/{id}/identity-providers) with the issuer URL, client ID, client secret and your email domains. This needs the right to manage access and a recent second factor.- meryxon checks that the issuer publishes its discovery document.
- The client secret goes straight to the sign-in service and is never shown again.
- Prove each domain: publish the TXT record meryxon shows, then press Verify. A domain belongs to one account only.
- Sign-in: people choose Sign in with your organization and enter their work email.
- Optional, SSO only: set sign-in methods to SSO only. Other sign-ins are then refused. Owners can still sign in with a password and a second factor, so a broken provider can't lock you out.
Sign-in through your own provider counts as two-factor: your provider enforces its own factors.
Audit log
Every sensitive action is in a tamper-evident log (each entry chained to the one before).
- Where it's kept: entries older than a year move to write-once storage and are kept for seven years.
- Checks: the whole chain is verified weekly.
- Deleted people: when a person's account is deleted, their name and email in the log are replaced by a pseudonym.