Single sign-on (SAML)
Let members of your organization sign in to the dashboard through your identity provider: Okta, Microsoft Entra ID, Google Workspace, OneLogin or any SAML 2.0 IdP.
SSO signs people in to the dashboard. It never approves anything: approvals still need a paired phone and a fingerprint.
Set it up
In the dashboard, Settings → Single sign-on (SAML). You need to be an owner.
In your identity provider, create a SAML 2.0 app with the values the card shows:
- Entity ID / audience:
https://app.aithorized.dev/v1/web/sso/saml/<organization ID> - ACS (reply) URL: the same, followed by
/acs - NameID: the member's email address (format
emailAddress), or send anemailattribute - Sign the assertion (the response itself may be unsigned)
Or import the SP metadata from
…/metadata.- Entity ID / audience:
Back in the dashboard, Set up single sign-on and paste the IdP's entity ID (issuer), sign-in URL and signing certificate (PEM).
Turn on. If an owner has a paired phone, that phone approves it first: an identity provider can sign anyone in as any member, so a stolen dashboard password must not be enough to plug one in.
Turning SSO off is immediate. Members keep their passwords, so they can still sign in with them.
Signing in
Members open the sign-in link from the card (…/login), add it as a tile in the IdP, or choose Sign in with SSO on the sign-in screen and type the organization ID.
Only SP-initiated sign-in is accepted: the browser starts at aithorized, which sends it to your IdP and accepts only the answer to that request. IdP-initiated sign-in (clicking a tile that posts straight to the ACS) is refused, because it cannot be told apart from an attacker posting their own assertion. Configure tiles to open the sign-in link instead.
Who can sign in
SSO never creates accounts. The email in the assertion must belong to an active member of the organization, added by invitation or SCIM. Anyone else comes back to the sign-in screen with an explanation.
What is checked
- The assertion is signed by the certificate you pasted, and issued by the entity ID you set.
- Its audience is this organization's entity ID, and it answers the request this browser started (within 10 minutes).
- Each assertion is accepted once: a replayed one is refused.
- Clock skew of up to one minute is tolerated.
Each SSO sign-in appears in the audit log as web.login with sso: saml.