Skip to main content

Sign in through your own identity provider

Settings → Single sign-on connects your SAML 2.0 identity provider - Okta, Entra ID, Google Workspace, OneLogin - so that people reach Yekar.AI through the directory you already run, and can no longer sign in through it once you disable them there. Disabling someone there does not end everything they already hold in Yekar.AI - see When someone leaves.

It is an organization-admin surface, and it is enabled per workspace: if the section is not in your Settings navigation, ask Yekar.AI to turn it on.

What it does not do​

Nobody is created by signing in. There is no just-in-time provisioning, deliberately: an assertion from your IdP proves who someone is, not that they should have a workspace here. The account and exactly one membership in this organization must already exist - invited through Settings → Users as usual, or added by your identity provider through automatic provisioning. A sign-in for anyone else is refused with sso_not_provisioned.

The one thing a successful SSO sign-in does change is an invited membership: it activates it. So an invitation can be sent and then accepted by signing in through your IdP, without a password ever being set.

Set it up​

Configuration is one drawer, and it has two halves.

Values to copy into your IdP - shown read-only, each with a copy button:

FieldWhat it is
Entity IDThe service-provider identifier your IdP will assert to.
ACS URLWhere your IdP posts the assertion.
Metadata URLSP metadata as XML, if your IdP prefers to import rather than be typed into.
NameID formatThe identifier format Yekar.AI expects.

Values to enter from your IdP:

  • IdP entity ID and IdP SSO URL - the issuer and the sign-in endpoint.
  • IdP signing certificate - the public X.509 certificate, in PEM format. Once saved, the page shows its subject, its SHA-256 fingerprint and its expiry, so a certificate about to lapse is visible before it lapses rather than after.
  • Email attribute - the assertion attribute holding the person's address. Leave it empty to use an email-formatted NameID.
  • Allow IdP-initiated sign-in - off by default. With it off, a sign-in must start here and every assertion is correlated to a request Yekar.AI issued.

Status​

The connection carries one of three states, and only one of them signs anybody in.

StatusMeaning
DraftConfigured but not live. Sign-in through it is refused.
ActiveLive. Assertions are accepted.
DisabledSwitched off, configuration kept.

Activate only once every IdP value is complete and a real sign-in has been tested, as the field's own hint says: a half-configured active connection refuses people who have no other way in.

Require single sign-on​

Require single sign-on (in the configuration drawer) makes your identity provider the only way into this organization. While it is on and the connection is Active:

  • Signing in with a password or Google still proves who someone is, but does not let them into this organization. Someone who belongs only to your organization is told to use single sign-on, with a Continue with single sign-on button that starts it.
  • Someone who also belongs to other organizations signs in to those as usual. Choosing yours from the workspace switcher sends them through your identity provider instead.
  • Accepting an invitation to your organization is done by signing in through your identity provider, not by setting a password.
  • It applies to everyone, Owners and Admins included.

Share the Sign-in link shown under Signing in with your members - it starts a sign-in through your identity provider.

To turn it on, the connection must be Active and you must have signed in through it yourself in the session you are using, which proves it works before anyone depends on it. Turning it on signs out everyone currently signed in to your organization another way; they sign back in through your identity provider. Each refused sign-in is written to the audit log as Sign-in refused: single sign-on required.

If the connection is set to Draft or Disabled, or single sign-on stops being part of your plan, the requirement pauses on its own and passwords and Google work again, so nobody is left with no way in.

When someone leaves​

Removing or disabling someone at your identity provider stops their next sign-in through it. Single sign-on tells Yekar.AI who is signing in, not who has left, so nothing they already hold here ends at that moment:

  • A browser already signed in stays signed in until it has gone unused for your Sign out after inactivity period - three days unless an Owner or Admin shortened it - or its sign-in runs out, whichever comes first.
  • Their personal API keys keep working until each one expires or is revoked.
  • Apps they connected to Yekar.AI through its MCP server stay connected.
  • Schedules and event triggers they created keep firing, and an agent set to act as the person using it keeps acting as them when those triggers fire.
  • Their own sign-ins to connected apps (My account on the Integrations screen) stay stored, so agents acting as them can keep using them.

To end all of it at once, also disable them under Settings → Users - or turn on automatic provisioning, which does this for you when your identity provider turns them off. Their next request is refused - in a browser, with an API key or from a connected app - the triggers they created are switched off, their own sign-ins are deleted and the apps they connected are disconnected. Re-enabling them later does not switch those triggers back on or reconnect those apps. See Offboarding.

Automatic provisioning (SCIM)​

With automatic provisioning on, your identity provider keeps the people in this organization in step with your directory over SCIM 2.0. It adds people, turns their access off and back on, and sends its groups, which you map to a domain and a role here. It needs single sign-on on your plan and is set by an Owner or Admin, in the Automatic provisioning (SCIM) section under the SAML connection.

Set it up​

  1. Choose Manage provisioning, turn on Turn on automatic provisioning, and save.
  2. Choose Create token. The token is shown once - copy it before you leave the drawer. If it is lost, create a new one: the old token stops working at once.
  3. In your identity provider's SCIM settings, enter the SCIM base URL shown on the page and the token as the bearer token, then assign the people and groups who should have access.

One token is live at a time. Revoke token refuses your identity provider from its next request; everyone it added keeps their access. Turning provisioning off does the same and keeps the token, the groups and everyone added.

What your identity provider can do​

  • Add a person. They join as an invited member, holding a seat, and are not emailed. Their first sign-in through single sign-on accepts the invitation, so the SAML connection must be Active for them to get in. When your plan has no seat left, the person is refused and your identity provider shows the reason.
  • Turn someone off, and back on. Turning someone off - or deleting them in your identity provider - ends their access here the same way disabling them under Settings → Users does: they are signed out at their next request, their API keys stop working, the triggers they created are switched off, their own sign-ins to connected apps are removed, and the apps they connected are disconnected. Nothing is erased - their conversations, agents and history stay, and their access to other organizations is not affected. Turning them back on restores their access, but not those triggers, sign-ins or apps.
  • Send groups. Each group your identity provider sends appears under Groups from your identity provider. Use Map to a domain to choose the domain and the role its members get there. Someone in several groups mapped to one domain gets the highest of their roles. A domain a group is mapped to follows your identity provider for the people in its groups: someone who leaves every group mapped to it loses their role there - including a role given by hand - and their triggers in that domain are switched off. Domains no group is mapped to are never changed.

What it never changes​

  • A person's name and sign-in address are their own. A name your identity provider sends names a new account only; it never replaces the name of someone who already has an account. A request to change someone's address is refused.
  • An organization owner's access is changed here, not by your identity provider.
  • Organization roles (Owner, Admin, Member) - people your identity provider adds join as members.

A workspace on its own infrastructure can't use automatic provisioning yet; add and remove people under Settings → Users instead.

Everything your identity provider does is written to the organization audit log with Identity provider (SCIM) as who acted, and creating, replacing or revoking the token is written with the admin who did it.

When a sign-in fails​

A failed sign-in returns to the Yekar.AI sign-in page with a reason on the URL rather than a stack trace:

ReasonWhat happened
sso_not_configuredNo SAML connection exists for this workspace.
sso_not_enabledThe connection exists but is Draft or Disabled.
sso_invalid_assertionThe assertion failed validation - signature, timing, or correlation to the request.
sso_no_emailNo usable address in the assertion. Check the Email attribute.
sso_not_provisionedNo account, or no membership in this organization. Invite them first.
sso_access_deniedThe membership exists but is deactivated.

Every successful sign-in is written to the audit trail with the protocol, the connection and the assertion id; so is every refusal, with its reason.

What SSO does not replace​

SSO binds a session to one organization - the one the connection belongs to - and that session stays there: it cannot switch to another workspace the person belongs to, and it cannot change their account's own security settings (two-factor sign-in, sign-in address, their other sessions). Your identity provider vouches for people to your organization, not to the rest of their account; for anything else they sign in with their password or Google. Roles, domain memberships and permissions are unchanged and are still managed in Settings → Users and on each domain; the identity provider decides who may sign in, not what they may do once they have.