Sign-in, SSO & MFA
Connect your identity provider, sign in securely, and understand the difference between account access and vault unlock.
On this page
Signing in gives you access to your organisation. Unlocking encrypted data is a separate step: an end-to-end encrypted app can ask for your keyring password, and Password Manager uses its own master password and Secret Key.
Sign in to the console#
- Open the console address provided by your administrator.
- Choose an available identity provider, or enter your account email and password.
- Complete the second-factor prompt if your account requires it.
- Select your organisation. If you cannot see it, ask an administrator to check your invitation and membership.
The sign-in methods shown depend on deployment configuration. Local password sign-in must be enabled with ENABLE_PASSWORD_AUTH; deployments connected to Matii Auth can offer password sign-in, social providers and organisation SSO through that service.
Your account password, your app keyring password, and your Password Manager master password have different purposes. Resetting your account password does not decrypt a locked password vault.
Connect Matii Auth#
This setup requires operators of both services and an organisation owner or administrator.
- Register the console as a confidential client in Matii Auth with token-exchange access for the
matii-secret-serviceaudience. - Configure
MATII_AUTH_ISSUER,MATII_AUTH_CLIENT_IDandMATII_AUTH_CLIENT_SECRETon the backend. UseMATII_AUTH_URLwhen backend traffic needs an internal address. - Set
MATII_AUTH_PUBLIC_URLon the frontend to the address browsers use for Matii Auth, and allow the console origin in the identity service's CORS settings. - Link existing users and organisations before switching an existing installation to exclusive authentication.
- Configure the signed identity webhook and verify that session revocation and member removal reach the console.
Operators can link existing records with these commands, run from the backend environment:
python manage.py matii_link_user --email user@example.com --matii-user-id <user-id>
python manage.py matii_link_org --organisation <organisation-id> --matii-org-id <organisation-id>
Account linking uses the identity service's user ID. A matching email alone does not take over an existing account. Linking a user removes their local console password.
MATII_AUTH_EXCLUSIVE=true is the default when this integration is active. It disables the local sign-in routes and rejects sessions that did not come from Matii Auth.
Configure single sign-on#
Open Access → Single Sign-On. With Matii Auth configured, owners and administrators can manage organisation identity providers. The integration supports OpenID Connect, SAML 2.0, and GitHub or GitHub Enterprise through Matii Auth.
- Allow pop-ups for the console and confirm your identity when prompted.
- Add the provider and configure its issuer, client details or SAML settings.
- Register the callback URL shown by the identity service with your provider.
- Allow the console's exact callback URL,
https://<console-host>/login/callback, in Matii Auth'sFEDERATION_ALLOWED_RETURN_URLS. - Test with an invited member before rolling the provider out to everyone.
Platform administrators manage the social sign-in buttons, such as Google, GitHub and GitLab. Organisation SSO and a social sign-in button are separate settings.
Require multi-factor authentication#
Configure account MFA in the authentication system used by your deployment. The console completes the additional challenge when required during sign-in. Password Manager administrators can separately require MFA for vault access in its organisation policy.
A browser extension connected before MFA was required may need to be disconnected and reconnected from an MFA-authenticated session. A vault-unlock passkey is separate from account sign-in MFA; see Password Manager.
Sessions and offboarding#
Console sessions are stored server-side. MATII_SESSION_AGE_SECONDS defaults to 43,200 seconds, or 12 hours.
Signed Matii Auth events can end one session, end all of a user's sessions, suspend sign-in, revoke personal tokens, or remove organisation access. Configure the webhook at /service/v1/matii/webhooks/auth/ with MATII_AUTH_WEBHOOK_SECRETS and the relevant session, user, membership and group events.
Signing out of the console does not sign out of Matii Auth. Transfer organisation ownership before offboarding the owner: automatic removal deliberately refuses to remove the current owner.
Continue with Teams & provisioning or Troubleshooting.